aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d/init.d
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2002-12-02 16:33:19 +0000
committerBill Nottingham <notting@redhat.com>2002-12-02 16:33:19 +0000
commitfcbb9b67c675ef139b48b5c641c94b70dab53892 (patch)
tree87a0c5c8735a906f3f98e93b62a0f9abf8c2b85e /rc.d/init.d
parent45482cf01eb20542579394d2d1357476647b8529 (diff)
downloadinitscripts-fcbb9b67c675ef139b48b5c641c94b70dab53892.tar
initscripts-fcbb9b67c675ef139b48b5c641c94b70dab53892.tar.gz
initscripts-fcbb9b67c675ef139b48b5c641c94b70dab53892.tar.bz2
initscripts-fcbb9b67c675ef139b48b5c641c94b70dab53892.tar.xz
initscripts-fcbb9b67c675ef139b48b5c641c94b70dab53892.zip
use lazy umount, tweak requires as needed
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 15ea6580..1fff48ce 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 -a -t nfs
+ action $"Unmounting NFS filesystems (retry): " umount -f -l -a -t nfs
else
- action $"Unmounting NFS filesystems: " umount -f -a -t nfs
+ action $"Unmounting NFS filesystems: " umount -f -l -a -t nfs
fi
sleep 2
remaining=`awk '!/^#/ && $3 ~ /^nfs/ && $2 != "/" {print $2}' /proc/mounts`