diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2011-07-07 23:53:06 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2011-07-07 23:53:06 +0000 |
commit | cc5b110fd79338c62d0509c45d871ab72743a177 (patch) | |
tree | b4a5ebb12eec3423e9ae1531af181e81a6ee862f /etc/rc | |
parent | 205fcf4c83bb731e3f29e1d5dade31c6d6231c50 (diff) |
oops, the netstart for pfsync *MUST* have the conditional
Diffstat (limited to 'etc/rc')
-rw-r--r-- | etc/rc | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -1,4 +1,4 @@ -# $OpenBSD: rc,v 1.366 2011/07/07 23:47:22 deraadt Exp $ +# $OpenBSD: rc,v 1.367 2011/07/07 23:53:05 deraadt Exp $ # System startup script run by init on autoboot # or after single-user. @@ -323,7 +323,9 @@ if [ X"${pf}" != X"NO" ]; then pfctl -f ${pf_rules} fi # bring up pfsync after the working ruleset has been loaded - . /etc/netstart pfsync0 + if [ -f /etc/hostname.pfsync0 ]; then + . /etc/netstart pfsync0 + fi fi mount -s /usr >/dev/null 2>&1 |