Add dependency info to the plymouth modules and the nfsroot module.

No point in making it easy for them to fail.
master
Victor Lowther 2009-05-25 16:59:17 -05:00
parent 1e19548857
commit cfc5b698e6
4 changed files with 5 additions and 1 deletions

View File

@ -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

View File

@ -1,2 +1,3 @@
#!/bin/bash
[[ $1 = -d ]] && echo crypt
[[ -x /sbin/plymouthd && -x /bin/plymouth && ! /usr/sbin/plymouth-set-default-theme ]]

View File

@ -1,2 +1,3 @@
#!/bin/bash
[[ $1 = -d ]] && echo crypt
[[ -x /sbin/plymouthd && -x /bin/plymouth && -x /usr/sbin/plymouth-set-default-theme ]]

View File

@ -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