summaryrefslogtreecommitdiffstats
path: root/source/a/sysvinit-scripts/scripts/rc.K
diff options
context:
space:
mode:
Diffstat (limited to 'source/a/sysvinit-scripts/scripts/rc.K')
-rw-r--r--source/a/sysvinit-scripts/scripts/rc.K14
1 files changed, 7 insertions, 7 deletions
diff --git a/source/a/sysvinit-scripts/scripts/rc.K b/source/a/sysvinit-scripts/scripts/rc.K
index 794c82ac8..5362a620b 100644
--- a/source/a/sysvinit-scripts/scripts/rc.K
+++ b/source/a/sysvinit-scripts/scripts/rc.K
@@ -12,16 +12,16 @@
#
# Set the path.
-PATH=/sbin:/bin:/usr/bin:/usr/sbin
+PATH=/usr/local/sbin:/usr/sbin:/sbin:/usr/local/bin:/usr/bin:/bin
# Load any needed keyboard mappings:
if [ -x /etc/rc.d/rc.keymap ]; then
- . /etc/rc.d/rc.keymap
+ /etc/rc.d/rc.keymap
fi
# If there are SystemV init scripts for this runlevel, run them.
if [ -x /etc/rc.d/rc.sysvinit ]; then
- . /etc/rc.d/rc.sysvinit
+ /etc/rc.d/rc.sysvinit
fi
# Try to turn off quota:
@@ -49,7 +49,7 @@ fi
# Stop the Samba server:
if [ -x /etc/rc.d/rc.samba ]; then
- . /etc/rc.d/rc.samba stop
+ /etc/rc.d/rc.samba stop
fi
# Shut down the NFS server:
@@ -63,7 +63,7 @@ unset FUSER_DELAY
for dir in $(/bin/mount | grep 'type nfs ' | cut -d ' ' -f 3 ) ; do
echo "Killing processes holding NFS mount $dir open..."
# Background this to prevent fuser from also blocking shutdown:
- /usr/bin/fuser -k -m $dir &
+ /usr/bin/fuser -k -M -m $dir &
FUSER_DELAY=5
done
# If fuser was run, let it have some delay:
@@ -77,14 +77,14 @@ echo "Unmounting remote filesystems:"
# Shut down PCMCIA devices:
if [ -x /etc/rc.d/rc.pcmcia ] ; then
- . /etc/rc.d/rc.pcmcia stop
+ /etc/rc.d/rc.pcmcia stop
# The cards might need a little extra time here to deactivate:
sleep 5
fi
# Terminate acpid before syslog:
if [ -x /etc/rc.d/rc.acpid -a -r /var/run/acpid.pid ]; then # quit
- . /etc/rc.d/rc.acpid stop
+ /etc/rc.d/rc.acpid stop
fi
# Kill all processes.