diff options
author | Bill Nottingham <notting@redhat.com> | 2004-12-08 05:09:22 +0000 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2004-12-08 05:09:22 +0000 |
commit | 9e15593fdbc61f970d3c9adceca6720fb39ea368 (patch) | |
tree | 96f44098c3f299ddafb8b9a6c17e2bedb65e156b /rc.d | |
parent | 8c690d3576a71e55304951a1a6d374495cf1c4f9 (diff) | |
download | initscripts-9e15593fdbc61f970d3c9adceca6720fb39ea368.tar initscripts-9e15593fdbc61f970d3c9adceca6720fb39ea368.tar.gz initscripts-9e15593fdbc61f970d3c9adceca6720fb39ea368.tar.bz2 initscripts-9e15593fdbc61f970d3c9adceca6720fb39ea368.tar.xz initscripts-9e15593fdbc61f970d3c9adceca6720fb39ea368.zip |
don't unmount NFS root FS (#142169)
Diffstat (limited to 'rc.d')
-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 02afab77..627eb681 100755 --- a/rc.d/init.d/netfs +++ b/rc.d/init.d/netfs @@ -94,9 +94,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 + action $"Unmounting NFS filesystems (retry): " umount -f -l $remaining else - action $"Unmounting NFS filesystems: " umount -f -l -a -t nfs + action $"Unmounting NFS filesystems: " umount -f -l $remaining fi sleep 2 remaining=`LC_ALL=C awk '!/^#/ && $3 ~ /^nfs/ && $2 != "/" {print $2}' /proc/mounts` |