summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordavid <david@openbsd.org>2011-07-17 16:35:58 +0000
committerdavid <david@openbsd.org>2011-07-17 16:35:58 +0000
commit779144e8f208de2786c56eba8ef7d5895d2bf4fd (patch)
tree5c5d0a8401b2fbbf2d91aeca782a462a30e57afb
parentsync (diff)
downloadwireguard-openbsd-779144e8f208de2786c56eba8ef7d5895d2bf4fd.tar.xz
wireguard-openbsd-779144e8f208de2786c56eba8ef7d5895d2bf4fd.zip
fix ${pf} variable so that the special pflogd check works; ok deraadt@
-rw-r--r--etc/rc.conf4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/rc.conf b/etc/rc.conf
index ad6d1f26a0d..35c1103abb8 100644
--- a/etc/rc.conf
+++ b/etc/rc.conf
@@ -1,6 +1,6 @@
#!/bin/sh -
#
-# $OpenBSD: rc.conf,v 1.156 2011/07/11 05:50:05 robert Exp $
+# $OpenBSD: rc.conf,v 1.157 2011/07/17 16:35:58 david Exp $
# set these to "NO" to turn them off. otherwise, they're used as flags
ldpd_flags=NO # for normal use: ""
@@ -130,7 +130,7 @@ fi
# special care needed for pflogd to avoid starting it up and failing
# if pf is not enabled
-if [ X"${PF}" = X"NO" ]; then
+if [ X"${pf}" = X"NO" ]; then
pflogd_flags=NO
fi