summaryrefslogtreecommitdiff
path: root/etc/rc
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2011-07-07 22:47:31 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2011-07-07 22:47:31 +0000
commit7c375cf7e321162fcfa54b6f23b0626bc5fdb14f (patch)
tree0ebaa41e6c70d1726317f210730105853c005a8a /etc/rc
parent56d9ce62e64a7cb84c78ed67524e18da776f3830 (diff)
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
Diffstat (limited to 'etc/rc')
-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