From: Victor Lowther Date: Mon, 25 May 2009 21:59:17 +0000 (-0500) Subject: Add dependency info to the plymouth modules and the nfsroot module. X-Git-Tag: 0.1~172 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=cfc5b698e6562730c46a0944675d797cbe17e802;p=thirdparty%2Fdracut.git Add dependency info to the plymouth modules and the nfsroot module. No point in making it easy for them to fail. --- diff --git a/modules.d/40nfsroot/check b/modules.d/40nfsroot/check index e0cecb8e1..01c61602c 100755 --- a/modules.d/40nfsroot/check +++ b/modules.d/40nfsroot/check @@ -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 diff --git a/modules.d/50plymouth-pre0.7/check b/modules.d/50plymouth-pre0.7/check index 6a1f31c97..018c0e9c3 100755 --- a/modules.d/50plymouth-pre0.7/check +++ b/modules.d/50plymouth-pre0.7/check @@ -1,2 +1,3 @@ #!/bin/bash +[[ $1 = -d ]] && echo crypt [[ -x /sbin/plymouthd && -x /bin/plymouth && ! /usr/sbin/plymouth-set-default-theme ]] diff --git a/modules.d/50plymouth/check b/modules.d/50plymouth/check index f245e1e09..838e7e283 100755 --- a/modules.d/50plymouth/check +++ b/modules.d/50plymouth/check @@ -1,2 +1,3 @@ #!/bin/bash +[[ $1 = -d ]] && echo crypt [[ -x /sbin/plymouthd && -x /bin/plymouth && -x /usr/sbin/plymouth-set-default-theme ]] diff --git a/modules.d/95udev-rules.ub810/check b/modules.d/95udev-rules.ub810/check index 7081b0dac..977f01c73 100755 --- a/modules.d/95udev-rules.ub810/check +++ b/modules.d/95udev-rules.ub810/check @@ -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