aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>1999-09-20 05:09:22 +0000
committerBill Nottingham <notting@redhat.com>1999-09-20 05:09:22 +0000
commit044f1dc0685f4584b1a7b20c933bbe78f0ddf82d (patch)
tree5f21e650334ba8131d77521688db4bcc16c5059c /rc.d
parent765ae5fe4acac4c047e15c9569ac65b2ec4c12ce (diff)
downloadinitscripts-044f1dc0685f4584b1a7b20c933bbe78f0ddf82d.tar
initscripts-044f1dc0685f4584b1a7b20c933bbe78f0ddf82d.tar.gz
initscripts-044f1dc0685f4584b1a7b20c933bbe78f0ddf82d.tar.bz2
initscripts-044f1dc0685f4584b1a7b20c933bbe78f0ddf82d.tar.xz
initscripts-044f1dc0685f4584b1a7b20c933bbe78f0ddf82d.zip
take out call to lsof - not needed
Diffstat (limited to 'rc.d')
-rwxr-xr-xrc.d/init.d/netfs4
1 files changed, 0 insertions, 4 deletions
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