]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
Add dependency info to the plymouth modules and the nfsroot module.
authorVictor Lowther <victor.lowther@gmail.com>
Mon, 25 May 2009 21:59:17 +0000 (16:59 -0500)
committerVictor Lowther <victor.lowther@gmail.com>
Mon, 25 May 2009 21:59:17 +0000 (16:59 -0500)
No point in making it easy for them to fail.

modules.d/40nfsroot/check
modules.d/50plymouth-pre0.7/check
modules.d/50plymouth/check
modules.d/95udev-rules.ub810/check

index e0cecb8e125ab63636665f1353e0f6f7d9b4cf11..01c61602c84f85394a3e213c62ea4419bda1669c 100755 (executable)
@@ -1,3 +1,5 @@
 #!/bin/sh
+[ "$1" = "-d" ] && echo network
 which rpcbind rpc.statd mount.nfs mount.nfs4 >/dev/null 2>&1 || exit 1
+
 exit 0
\ No newline at end of file
index 6a1f31c97dc46d1cd874853f5633ba5c730492f3..018c0e9c394501dfc096228f6e7f7f7f9888fea4 100755 (executable)
@@ -1,2 +1,3 @@
 #!/bin/bash
+[[ $1 = -d ]] && echo crypt
 [[ -x /sbin/plymouthd && -x /bin/plymouth && ! /usr/sbin/plymouth-set-default-theme ]]
index f245e1e0970fde305057f19358b9d1aed9ef9037..838e7e28342d3f109ea6c221f138ac7fe93cadcb 100755 (executable)
@@ -1,2 +1,3 @@
 #!/bin/bash
+[[ $1 = -d ]] && echo crypt
 [[ -x /sbin/plymouthd && -x /bin/plymouth && -x /usr/sbin/plymouth-set-default-theme ]]
index 7081b0dacb0aed6855bdf580f6e93a77e99d9f79..977f01c7346d3c620c7821985a3c67794bb71fa0 100755 (executable)
@@ -1,4 +1,4 @@
 #!/bin/sh
 
 [ -f /etc/lsb-release ] && \ 
-grep -q 'DISTRIB_DESCRIPTION="Ubuntu 8.10"' /etc/lsb-release 2>/dev/null 
+grep -q "Ubuntu 8.10" /etc/lsb-release 2>/dev/null