From 8d6fc14161eee27d9e38d59cd69ae00276fa2fc2 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(-) diff --git a/rc.d/init.d/netfs b/rc.d/init.d/netfs index 3a932145..fabada72 100755 --- a/rc.d/init.d/netfs +++ b/rc.d/init.d/netfs @@ -106,7 +106,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