summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2011-07-07 22:47:30 +0000
committerderaadt <deraadt@openbsd.org>2011-07-07 22:47:30 +0000
commitd393a4f39cb59b9e00bbb8b6be39191bee3a76ee (patch)
tree07d24650de3e63e603d4a2ecb50d481037dd6e98
parentshrink the kernel by zapping old mms and lms driver. i'll come back for the (diff)
downloadwireguard-openbsd-d393a4f39cb59b9e00bbb8b6be39191bee3a76ee.tar.xz
wireguard-openbsd-d393a4f39cb59b9e00bbb8b6be39191bee3a76ee.zip
We don't need a conditional around the pfsync start.
(As a reminder to others who spot this weirdness later and get confused like I did: netstart never starts pfsync automatically, because it would screw the states. That is why there is this 2nd manual netstart run for pfsync) ok mpf
-rw-r--r--etc/rc6
1 files changed, 2 insertions, 4 deletions
diff --git a/etc/rc b/etc/rc
index 5996b609b6a..3a93b698edf 100644
--- a/etc/rc
+++ b/etc/rc
@@ -1,4 +1,4 @@
-# $OpenBSD: rc,v 1.360 2011/07/07 22:30:37 robert Exp $
+# $OpenBSD: rc,v 1.361 2011/07/07 22:47:30 deraadt Exp $
# System startup script run by init on autoboot
# or after single-user.
@@ -323,9 +323,7 @@ if [ X"${pf}" != X"NO" ]; then
pfctl -f ${pf_rules}
fi
# bring up pfsync after the working ruleset has been loaded
- if [ -f /etc/hostname.pfsync0 ]; then
- . /etc/netstart pfsync0
- fi
+ . /etc/netstart pfsync0
fi
mount -s /usr >/dev/null 2>&1