From cc0587189239354c2ea3cdcd84af315db7228081 Mon Sep 17 00:00:00 2001 From: deraadt <> Date: Thu, 7 Jul 2011 22:47:30 +0000 Subject: [PATCH] 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 --- src/etc/rc | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/etc/rc b/src/etc/rc index 5996b609..3a93b698 100644 --- a/src/etc/rc +++ b/src/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