summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2011-07-07 20:54:06 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2011-07-07 20:54:06 +0000
commitc3785e5755298479f2016257ae5995e5eff60df2 (patch)
treeb37316a331c3bc7632f91a1045cb2a982e14f44f /etc
parent39bcf43a22ddc40b19878d56f0413a699489c137 (diff)
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
Diffstat (limited to 'etc')
-rw-r--r--etc/rc20
1 files changed, 11 insertions, 9 deletions
diff --git a/etc/rc b/etc/rc
index ac7b86a8ca0..79e186ab75a 100644
--- a/etc/rc
+++ b/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