aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xrc.d/init.d/netfs6
1 files changed, 3 insertions, 3 deletions
diff --git a/rc.d/init.d/netfs b/rc.d/init.d/netfs
index ec679d1e..57cb462e 100755
--- a/rc.d/init.d/netfs
+++ b/rc.d/init.d/netfs
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
#
# netfs Mount network filesystems.
#
@@ -53,9 +53,9 @@ case "$1" in
sleep 2
remaining=`awk '!/^#/ && $3 ~ /^nfs/ {print $2}' /proc/mounts`
[ -z "$remaining" ] && break
- fuser -k -m $sig $remaining >/dev/null
+ /sbin/fuser -k -m $sig $remaining >/dev/null
sleep 5
- retry=`expr $retry - 1`
+ retry=$(($retry - 1))
sig=-9
done
}