diff options
author | 2011-07-07 23:53:05 +0000 | |
---|---|---|
committer | 2011-07-07 23:53:05 +0000 | |
commit | df0568a3306a2a2cbcdc9abd42f76d537232c440 (patch) | |
tree | a2f2f84352dae1577ac4381c9cac501c727a6d60 | |
parent | disable the afs enable stuff. when nnpfs is re-enabled, that can be added (diff) | |
download | wireguard-openbsd-df0568a3306a2a2cbcdc9abd42f76d537232c440.tar.xz wireguard-openbsd-df0568a3306a2a2cbcdc9abd42f76d537232c440.zip |
oops, the netstart for pfsync *MUST* have the conditional
-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 |