From fcbb9b67c675ef139b48b5c641c94b70dab53892 Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Mon, 2 Dec 2002 16:33:19 +0000 Subject: use lazy umount, tweak requires as needed --- rc.d/init.d/netfs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'rc.d/init.d/netfs') 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` -- cgit v1.2.1