diff options
author | Bill Nottingham <notting@redhat.com> | 2004-12-08 05:08:50 +0000 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2004-12-08 05:08:50 +0000 |
commit | d8dd807c0b8702ce2ed97e87cb7830ac0179804e (patch) | |
tree | 5b6db52ee73ca6b47e97bdcea876ac002a0724c8 | |
parent | 717c9a2fdd6a877072200d36cf11bab53345a5d3 (diff) | |
download | initscripts-d8dd807c0b8702ce2ed97e87cb7830ac0179804e.tar initscripts-d8dd807c0b8702ce2ed97e87cb7830ac0179804e.tar.gz initscripts-d8dd807c0b8702ce2ed97e87cb7830ac0179804e.tar.bz2 initscripts-d8dd807c0b8702ce2ed97e87cb7830ac0179804e.tar.xz initscripts-d8dd807c0b8702ce2ed97e87cb7830ac0179804e.zip |
don't unmount NFS root FS (#142169)
-rwxr-xr-x | rc.d/init.d/netfs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rc.d/init.d/netfs b/rc.d/init.d/netfs index 5df4a4b4..99cceb3b 100755 --- a/rc.d/init.d/netfs +++ b/rc.d/init.d/netfs @@ -97,9 +97,9 @@ case "$1" in while [ -n "$remaining" -a "$retry" -gt 0 ] do if [ "$retry" -lt 3 ]; then - action $"Unmounting NFS filesystems (retry): " umount -f -l -a -t nfs,nfs4 + action $"Unmounting NFS filesystems (retry): " umount -f -l $remaining else - action $"Unmounting NFS filesystems: " umount -f -l -a -t nfs,nfs4 + action $"Unmounting NFS filesystems: " umount -f -l $remaining fi sleep 2 remaining=`LC_ALL=C awk '!/^#/ && $3 ~ /^nfs/ && $2 != "/" {print $2}' /proc/mounts` |