From cfc5b698e6562730c46a0944675d797cbe17e802 Mon Sep 17 00:00:00 2001 From: Victor Lowther Date: Mon, 25 May 2009 16:59:17 -0500 Subject: [PATCH] Add dependency info to the plymouth modules and the nfsroot module. No point in making it easy for them to fail. --- modules.d/40nfsroot/check | 2 ++ modules.d/50plymouth-pre0.7/check | 1 + modules.d/50plymouth/check | 1 + modules.d/95udev-rules.ub810/check | 2 +- 4 files changed, 5 insertions(+), 1 deletion(-) 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 -- 2.47.3