diff options
author | 2011-07-07 20:54:05 +0000 | |
---|---|---|
committer | 2011-07-07 20:54:05 +0000 | |
commit | b51cb90858729d5555a97dc8d9c1e8564c3bb18a (patch) | |
tree | 4fcbc381d2118e16aca78ab1162405048c8c9d7d | |
parent | Move the uvm reserve enforcement from uvm_pagealloc to pmemrange. (diff) | |
download | wireguard-openbsd-b51cb90858729d5555a97dc8d9c1e8564c3bb18a.tar.xz wireguard-openbsd-b51cb90858729d5555a97dc8d9c1e8564c3bb18a.zip |
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
-rw-r--r-- | etc/rc | 20 |
1 files changed, 11 insertions, 9 deletions
@@ -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 |