summaryrefslogtreecommitdiffstats
path: root/etc/rc.shutdown
diff options
context:
space:
mode:
authormtm <mtm@FreeBSD.org>2004-06-26 09:27:30 +0000
committermtm <mtm@FreeBSD.org>2004-06-26 09:27:30 +0000
commit5e58125da8781c14ae12a6422046f6102ba4ee3d (patch)
tree27f947915fbf71e9de3804d14a50068115c8f7cc /etc/rc.shutdown
parent0567d4ef5fa68876b3d70414d79e61c5cad5db3e (diff)
downloadFreeBSD-src-5e58125da8781c14ae12a6422046f6102ba4ee3d.zip
FreeBSD-src-5e58125da8781c14ae12a6422046f6102ba4ee3d.tar.gz
Make the stop command respect the 'fast' prefix.
Most notably, this cleans up messages when shutting down from single user. In such a case there are usually no daemons running, but their pid files are still in /var/run. This causes rc.d to output diagnostics about daemons with pidfiles, but that are not running.
Diffstat (limited to 'etc/rc.shutdown')
-rw-r--r--etc/rc.shutdown4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/rc.shutdown b/etc/rc.shutdown
index 5555f7d..fa00feb 100644
--- a/etc/rc.shutdown
+++ b/etc/rc.shutdown
@@ -85,8 +85,8 @@ fi
files=`eval grep -l \'^# KEYWORD:.*FreeBSD\' \`rcorder -k shutdown /etc/rc.d/* 2>/dev/null\``
for _rc_elem in `reverse_list $files`; do
- debug "run_rc_script $_rc_elem stop"
- run_rc_script $_rc_elem stop
+ debug "run_rc_script $_rc_elem faststop"
+ run_rc_script $_rc_elem faststop
done
# Terminate the background watchdog timer (if it is running)
OpenPOWER on IntegriCloud