From 6baf5fc0c6696bb5f1c721ca7b9403236e88fea2 Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Tue, 27 Jan 2009 12:14:50 -0500 Subject: Don't unmount the nfsd filesystem when unmounting nfs client mounts. (#481794, ) --- rc.d/init.d/netfs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rc.d/init.d/netfs') 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): " \ -- cgit v1.2.1