]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
Victor pointed out --hostonly doesn't go into check.
authorWarren Togami <wtogami@redhat.com>
Sat, 30 May 2009 03:56:55 +0000 (23:56 -0400)
committerWarren Togami <wtogami@redhat.com>
Sat, 30 May 2009 03:56:55 +0000 (23:56 -0400)
modules.d/40nfsroot/check
modules.d/90crypt/check
modules.d/90dmraid/check
modules.d/90kernel-modules-loaded/check
modules.d/90lvm/check
modules.d/90mdraid/check

index 1b4b53e1bffb3549eb018de56387096493ccc850..4abc23feae2a4a464a1d8638af5c1049094fe241 100755 (executable)
@@ -1,5 +1,5 @@
 #!/bin/sh
 [ "$1" = "-d" ] && echo network
-[ "$1" = "-H" ] || [ "$1" = "--hostonly" ] && ! egrep -q '/ nfs[34 ]' /proc/mounts && exit 1
+[ "$1" = "-H" ] && ! egrep -q '/ nfs[34 ]' /proc/mounts && exit 1
 which rpcbind rpc.statd mount.nfs mount.nfs4 umount >/dev/null 2>&1 || exit 1
 exit 0
index 8f08cd88a8f2569782fd8bb9e9e3cad707bd79f1..8457f8536362269904a92bb94432fe6cf55ba3bd 100755 (executable)
@@ -2,7 +2,7 @@
 
 which cryptsetup >/dev/null 2>&1 || exit 1
 
-if [ "$1" = "-H" ] || [ "$1" = "--hostonly" ]; then
+if [ "$1" = "-H" ]; then
     blkid | grep -q crypt_LUKS || exit 1
 fi
 
index 6dc85b8022e505ade2700b8638c6d25c502f997f..67051db885c1762ef6d346f3cb5ec5b62b86c8ea 100755 (executable)
@@ -1,7 +1,7 @@
 #!/bin/sh
 which dmraid >/dev/null 2>&1 || exit 1
 
-if [ "$1" = "-H" ] || [ "$1" = "--hostonly" ]; then
+if [ "$1" = "-H" ]; then
     dmraid -r | grep -q ok || exit 1
 fi
 
index 178bce53c2778a1cd21463518f0df8c24861eea9..44be0a0103fb911ae49e2549de8e412f9ba91b2d 100755 (executable)
@@ -1,3 +1,3 @@
 #!/bin/sh
 
-[ "$1" = "-H" ] || [ "$1" = "--hostonly" ] && exit 1
+[ "$1" = "-H" ] && exit 1
index 1c54b34f35482bbc65a91b25cd6678ad3c2f29d2..a5ce6a57248660264d80310b202c2c1c9a3d9386 100755 (executable)
@@ -1,7 +1,7 @@
 #!/bin/sh
 which lvm >/dev/null 2>&1 || exit 1
 
-if [ "$1" = "-H" ] || [ "$1" = "--hostonly" ]; then
+if [ "$1" = "-H" ]; then
     blkid | grep -q lvm2pv || exit 1
 fi
 
index 909b67f554ba646f8ba2284c67168a07d43753c7..0d0605a245e625a5c37d855d528ca5681b8fe906 100755 (executable)
@@ -1,7 +1,7 @@
 #!/bin/sh
 which mdadm >/dev/null 2>&1 || exit 1
 
-if [ "$1" = "-H" ] || [ "$1" = "--hostonly" ]; then
+if [ "$1" = "-H" ]; then
     blkid | grep -q linux_raid || exit 1
 fi