From 06558b3ee484f20d8529cadf190241614f811a57 Mon Sep 17 00:00:00 2001 From: Victor Lowther Date: Thu, 28 May 2009 21:02:14 -0500 Subject: [PATCH] Make nfsroot work with hostonly mode. --- modules.d/40nfsroot/check | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules.d/40nfsroot/check b/modules.d/40nfsroot/check index 916056de5..a682aa2e1 100755 --- a/modules.d/40nfsroot/check +++ b/modules.d/40nfsroot/check @@ -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 -- 2.47.3