diff options
author | Bill Nottingham <notting@redhat.com> | 2009-01-27 12:14:50 -0500 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2009-01-27 12:14:50 -0500 |
commit | 6baf5fc0c6696bb5f1c721ca7b9403236e88fea2 (patch) | |
tree | 8632831b428a345888e080fcb1f248a4a8d9aff2 | |
parent | 16d3d30e59defcb4d57965992f4e90a559abda59 (diff) | |
download | initscripts-6baf5fc0c6696bb5f1c721ca7b9403236e88fea2.tar initscripts-6baf5fc0c6696bb5f1c721ca7b9403236e88fea2.tar.gz initscripts-6baf5fc0c6696bb5f1c721ca7b9403236e88fea2.tar.bz2 initscripts-6baf5fc0c6696bb5f1c721ca7b9403236e88fea2.tar.xz initscripts-6baf5fc0c6696bb5f1c721ca7b9403236e88fea2.zip |
Don't unmount the nfsd filesystem when unmounting nfs client mounts. (#481794, <sprabhu@redhat.com>)
-rwxr-xr-x | rc.d/init.d/netfs | 2 |
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): " \ |