summaryrefslogtreecommitdiff
path: root/etc/rc
diff options
context:
space:
mode:
authorFlorian Obser <florian@cvs.openbsd.org>2017-06-06 13:59:38 +0000
committerFlorian Obser <florian@cvs.openbsd.org>2017-06-06 13:59:38 +0000
commit6a7a1617d3675870325680bbc7c52a9e37658db3 (patch)
tree69681d2a1ff5f8a35e4c0418200279ba794cfc63 /etc/rc
parent1aa781ffc23849d12119adc9d8689c2e2a50f5b9 (diff)
start slaacd as early as possible, right after pf and sysctl.conf are
setup. Input & OK deraadt@
Diffstat (limited to 'etc/rc')
-rw-r--r--etc/rc6
1 files changed, 4 insertions, 2 deletions
diff --git a/etc/rc b/etc/rc
index 1d6155bfd7c..2a84c554215 100644
--- a/etc/rc
+++ b/etc/rc
@@ -1,4 +1,4 @@
-# $OpenBSD: rc,v 1.500 2017/06/03 22:59:09 deraadt Exp $
+# $OpenBSD: rc,v 1.501 2017/06/06 13:59:37 florian Exp $
# System startup script run by init on autoboot or after single-user.
# Output and error are redirected to console by init, and the console is the
@@ -393,6 +393,8 @@ fill_baddynamic tcp
sysctl_conf
+start_daemon slaacd >/dev/null 2>&1
+
echo 'starting network'
# Set carp interlock by increasing the demotion counter.
@@ -438,7 +440,7 @@ dmesg >/var/run/dmesg.boot
make_keys
echo -n 'starting early daemons:'
-start_daemon syslogd ldattach pflogd slaacd nsd rebound unbound ntpd
+start_daemon syslogd ldattach pflogd nsd rebound unbound ntpd
start_daemon iscsid isakmpd iked sasyncd ldapd npppd
echo '.'