No point in making it easy for them to fail.
#!/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
#!/bin/bash
+[[ $1 = -d ]] && echo crypt
[[ -x /sbin/plymouthd && -x /bin/plymouth && ! /usr/sbin/plymouth-set-default-theme ]]
#!/bin/bash
+[[ $1 = -d ]] && echo crypt
[[ -x /sbin/plymouthd && -x /bin/plymouth && -x /usr/sbin/plymouth-set-default-theme ]]
#!/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