summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorAntoine Jacoutot <ajacoutot@cvs.openbsd.org>2010-11-05 10:03:01 +0000
committerAntoine Jacoutot <ajacoutot@cvs.openbsd.org>2010-11-05 10:03:01 +0000
commitc3e8c08a0ebe38a96718159f595d5e99e78e8078 (patch)
treec36a1edc9bda9b25001a91a32e320e730ebe6bb0 /etc
parentc07e6e5ed81680bfa1f6a5f042b10acbf5f3f141 (diff)
Print the daemon name _before_ starting the corresponding rc script.
"makes sense" schwarze@, ok robert@
Diffstat (limited to 'etc')
-rw-r--r--etc/rc.local4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/rc.local b/etc/rc.local
index af88e0a06c7..a4242ef776d 100644
--- a/etc/rc.local
+++ b/etc/rc.local
@@ -1,4 +1,4 @@
-# $OpenBSD: rc.local,v 1.40 2010/10/26 20:56:03 robert Exp $
+# $OpenBSD: rc.local,v 1.41 2010/11/05 10:03:00 ajacoutot Exp $
# Site-specific startup actions, daemons, and other things which
# can be done AFTER your system goes into securemode. For actions
@@ -8,7 +8,7 @@
echo -n 'starting local daemons:'
for _r in $rc_scripts; do
- [ -x /etc/rc.d/${_r} ] && /etc/rc.d/${_r} start && echo -n " ${_r}"
+ [ -x /etc/rc.d/${_r} ] && echo -n " ${_r}" && /etc/rc.d/${_r} start
done
# Add your local startup actions here.