diff options
author | Bill Nottingham <notting@redhat.com> | 2009-01-27 12:14:50 -0500 |
---|---|---|
committer | Harald Hoyer <harald@redhat.com> | 2009-05-04 16:05:05 +0200 |
commit | 8d6fc14161eee27d9e38d59cd69ae00276fa2fc2 (patch) | |
tree | f3c782b206ad6a6e8832b2f3cb47fa0c1e1df5f4 | |
parent | 7400d23a7a5b42571461c6377f4a1349e98f8ef4 (diff) | |
download | initscripts-8d6fc14161eee27d9e38d59cd69ae00276fa2fc2.tar initscripts-8d6fc14161eee27d9e38d59cd69ae00276fa2fc2.tar.gz initscripts-8d6fc14161eee27d9e38d59cd69ae00276fa2fc2.tar.bz2 initscripts-8d6fc14161eee27d9e38d59cd69ae00276fa2fc2.tar.xz initscripts-8d6fc14161eee27d9e38d59cd69ae00276fa2fc2.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 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): " \ |