Make nfsroot work with hostonly mode.

master
Victor Lowther 2009-05-28 21:02:14 -05:00
parent c1143d3d6c
commit 06558b3ee4
1 changed files with 1 additions and 1 deletions

View File

@ -1,5 +1,5 @@
#!/bin/sh
[ "$1" = "-d" ] && echo network
[ "$1" = "-h" ] && ! egrep -q '/ nfs[34 ]' /proc/mounts && exit 1
which rpcbind rpc.statd mount.nfs mount.nfs4 umount >/dev/null 2>&1 || exit 1

exit 0