From 960688826aed5648412792f6be0598f63f4ed1a1 Mon Sep 17 00:00:00 2001 From: deraadt <> Date: Thu, 7 Jul 2011 20:54:05 +0000 Subject: [PATCH] Move various "console-ish" services into a new start_daemon block near the bottom, after checking that they are OK with being there. ok ajacoutot --- src/etc/rc | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/src/etc/rc b/src/etc/rc index ac7b86a8..79e186ab 100644 --- a/src/etc/rc +++ b/src/etc/rc @@ -1,4 +1,4 @@ -# $OpenBSD: rc,v 1.356 2011/07/07 18:40:00 deraadt Exp $ +# $OpenBSD: rc,v 1.357 2011/07/07 20:54:05 deraadt Exp $ # System startup script run by init on autoboot # or after single-user. @@ -596,12 +596,6 @@ fi echo '.' -mixerctl_conf - -if [ X"${aucat_flags}" != X"NO" ]; then - aucat -l ${aucat_flags} -fi - if [ X"${kdc_flags}" != X"NO" ]; then echo -n 'starting KerberosV daemons:' start_daemon kdc kadmind kpasswdd @@ -637,13 +631,21 @@ echo '.' date +mixerctl_conf +echo -n 'starting console services:' + +if [ X"${aucat_flags}" != X"NO" ]; then + echo -n ' aucat'; aucat -l ${aucat_flags} +fi + if [ X"${wsmoused_flags}" != X"NO" -a -x /usr/sbin/wsmoused ]; then - echo 'starting wsmoused...'; wsmoused ${wsmoused_flags} + echo -n ' wsmoused'; wsmoused ${wsmoused_flags} fi # Alternatively, on some architectures, xdm may be started in /etc/ttys. if [ X"${xdm_flags}" != X"NO" -a -x /usr/X11R6/bin/xdm ]; then - echo 'starting xdm...'; /usr/X11R6/bin/xdm ${xdm_flags} + echo -n ' xdm'; /usr/X11R6/bin/xdm ${xdm_flags} fi +echo '.' exit 0