aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d
diff options
context:
space:
mode:
Diffstat (limited to 'rc.d')
-rwxr-xr-xrc.d/init.d/netfs2
1 files changed, 1 insertions, 1 deletions
diff --git a/rc.d/init.d/netfs b/rc.d/init.d/netfs
index cd792dab..ce01cc18 100755
--- a/rc.d/init.d/netfs
+++ b/rc.d/init.d/netfs
@@ -104,7 +104,7 @@ case "$1" in
$"Unmounting network block filesystems (retry): "
fi
if [ -n "$NFSMTAB" ]; then
- __umount_loop '$3 ~ /^nfs/ && $2 != "/" {print $2}' \
+ __umount_loop '$3 ~ /^nfs/ && $3 != "nfsd" && $2 != "/" {print $2}' \
/proc/mounts \
$"Unmounting NFS filesystems: " \
$"Unmounting NFS filesystems (retry): " \