summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xetc/redhat/nfs.init2
-rwxr-xr-xetc/redhat/nfslock.init4
2 files changed, 3 insertions, 3 deletions
diff --git a/etc/redhat/nfs.init b/etc/redhat/nfs.init
index 687b199..6da8e0c 100755
--- a/etc/redhat/nfs.init
+++ b/etc/redhat/nfs.init
@@ -50,6 +50,7 @@ case "$1" in
;;
stop)
# Stop daemons.
+ action "Shutting down NFS services: " /usr/sbin/exportfs -au
echo -n "Shutting down NFS mountd: "
killproc rpc.mountd
echo
@@ -59,7 +60,6 @@ case "$1" in
echo -n "Shutting down NFS quotas: "
killproc rpc.rquotad
echo
- action "Shutting down NFS services: " /usr/sbin/exportfs -au
rm -f /var/lock/subsys/nfs
;;
status)
diff --git a/etc/redhat/nfslock.init b/etc/redhat/nfslock.init
index 1442637..9e9a2c9 100755
--- a/etc/redhat/nfslock.init
+++ b/etc/redhat/nfslock.init
@@ -22,8 +22,8 @@ fi
# Check that networking is up.
[ ${NETWORKING} = "no" ] && exit 0
-[ -x /usr/sbin/rpc.lockd ] || exit 0
-[ -x /usr/sbin/rpc.statd ] || exit 0
+[ -x /sbin/rpc.lockd ] || exit 0
+[ -x /sbin/rpc.statd ] || exit 0
# See how we were called.
case "$1" in