summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorflorian <florian@openbsd.org>2017-06-06 13:59:37 +0000
committerflorian <florian@openbsd.org>2017-06-06 13:59:37 +0000
commit8d7324fc9ac6b3dc5505dd70c7a1a18f37ad09c0 (patch)
treefc8d6fe4f13426a0e0171f8b412ff79de2911440
parentWe are going to start slaacd(8) much earlier, before /var is even (diff)
downloadwireguard-openbsd-8d7324fc9ac6b3dc5505dd70c7a1a18f37ad09c0.tar.xz
wireguard-openbsd-8d7324fc9ac6b3dc5505dd70c7a1a18f37ad09c0.zip
start slaacd as early as possible, right after pf and sysctl.conf are
setup. Input & OK deraadt@
-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 '.'