diff options
author | Bill Nottingham <notting@redhat.com> | 2004-12-08 05:08:08 +0000 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2004-12-08 05:08:08 +0000 |
commit | 09c6b405157e33daa1c1ed8447e172405467490b (patch) | |
tree | 080e5e0074a0ed360bdc5b848a2204854bec0537 /rc.d | |
parent | 5c91966461eec7ab78a5f520b59f55e442e36e27 (diff) | |
download | initscripts-09c6b405157e33daa1c1ed8447e172405467490b.tar initscripts-09c6b405157e33daa1c1ed8447e172405467490b.tar.gz initscripts-09c6b405157e33daa1c1ed8447e172405467490b.tar.bz2 initscripts-09c6b405157e33daa1c1ed8447e172405467490b.tar.xz initscripts-09c6b405157e33daa1c1ed8447e172405467490b.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 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` |