Make nfsroot work with hostonly mode.
parent
c1143d3d6c
commit
06558b3ee4
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue