From 044f1dc0685f4584b1a7b20c933bbe78f0ddf82d Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Mon, 20 Sep 1999 05:09:22 +0000 Subject: take out call to lsof - not needed --- rc.d/init.d/netfs | 4 ---- 1 file changed, 4 deletions(-) (limited to 'rc.d/init.d') diff --git a/rc.d/init.d/netfs b/rc.d/init.d/netfs index 3d03f403..ec679d1e 100755 --- a/rc.d/init.d/netfs +++ b/rc.d/init.d/netfs @@ -40,7 +40,6 @@ case "$1" in ;; stop) [ -n "$NFSMTAB" ] && { - if [ $# -eq 1 ]; then sig= retry=3 remaining=`awk '!/^#/ && $3 ~ /^nfs/ {print $2}' /proc/mounts` @@ -54,14 +53,11 @@ case "$1" in sleep 2 remaining=`awk '!/^#/ && $3 ~ /^nfs/ {print $2}' /proc/mounts` [ -z "$remaining" ] && break - lsof -N fuser -k -m $sig $remaining >/dev/null sleep 5 retry=`expr $retry - 1` sig=-9 done - - fi } [ -n "$SMBMTAB" ] && action "Unmounting SMB filesystems" umount -a -t smbfs [ -n "$NCPMTAB" ] && action "Unmounting NCP filesystems" umount -a -t ncpfs -- cgit v1.2.1