diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2011-07-07 22:47:31 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2011-07-07 22:47:31 +0000 |
commit | 7c375cf7e321162fcfa54b6f23b0626bc5fdb14f (patch) | |
tree | 0ebaa41e6c70d1726317f210730105853c005a8a /etc/rc | |
parent | 56d9ce62e64a7cb84c78ed67524e18da776f3830 (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/rc | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -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 |