diff options
author | Antoine Jacoutot <ajacoutot@cvs.openbsd.org> | 2010-11-26 08:09:36 +0000 |
---|---|---|
committer | Antoine Jacoutot <ajacoutot@cvs.openbsd.org> | 2010-11-26 08:09:36 +0000 |
commit | be3969890ba014b3c7e3edfffb9cb21eae6d4c5a (patch) | |
tree | c9f34e00e1c9de9c6b36f0b378847c9c60f2609a /etc | |
parent | 66edfc4b3808c2658db873102cec79f51145321e (diff) |
Do like in rc.local and print the daemon name before running rc_stop.
ok robert@
Diffstat (limited to 'etc')
-rw-r--r-- | etc/rc.shutdown | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/rc.shutdown b/etc/rc.shutdown index 96c0e909d8f..ca205be85e8 100644 --- a/etc/rc.shutdown +++ b/etc/rc.shutdown @@ -1,4 +1,4 @@ -# $OpenBSD: rc.shutdown,v 1.9 2010/11/17 13:43:19 ajacoutot Exp $ +# $OpenBSD: rc.shutdown,v 1.10 2010/11/26 08:09:35 ajacoutot Exp $ # # If it exists, this script is run at system-shutdown by reboot(8), # halt(8). If the architecture supports keyboard requested halting, @@ -12,7 +12,7 @@ echo -n 'stopping local daemons:' while [ -n "${rc_scripts}" ]; do _r=${rc_scripts##* } rc_scripts=${rc_scripts%%*( )${_r}} - [ -x /etc/rc.d/${_r} ] && /etc/rc.d/${_r} stop && echo -n " ${_r}" + [ -x /etc/rc.d/${_r} ] && echo -n " ${_r}" && /etc/rc.d/${_r} stop done # Add your local shutdown actions here. |