aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d/init.d
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2004-12-08 05:07:46 +0000
committerBill Nottingham <notting@redhat.com>2004-12-08 05:07:46 +0000
commit7b5527c867597ab8f2b215514242687eb30aa1b1 (patch)
treefc0e10b7d074d36cc5ff011ca73ef324bf69bd49 /rc.d/init.d
parent33b9d28d37a2243c77620f072c5d1faa6a033346 (diff)
downloadinitscripts-7b5527c867597ab8f2b215514242687eb30aa1b1.tar
initscripts-7b5527c867597ab8f2b215514242687eb30aa1b1.tar.gz
initscripts-7b5527c867597ab8f2b215514242687eb30aa1b1.tar.bz2
initscripts-7b5527c867597ab8f2b215514242687eb30aa1b1.tar.xz
initscripts-7b5527c867597ab8f2b215514242687eb30aa1b1.zip
don't unmount NFS root FS (#142169)
Diffstat (limited to 'rc.d/init.d')
-rwxr-xr-xrc.d/init.d/netfs4
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`