summaryrefslogtreecommitdiff
path: root/etc/rc
diff options
context:
space:
mode:
authorRobert Nagy <robert@cvs.openbsd.org>2011-07-08 21:42:53 +0000
committerRobert Nagy <robert@cvs.openbsd.org>2011-07-08 21:42:53 +0000
commitbcb875c50d54464e087a76f48ea4d9e60597050d (patch)
treee38fcf850d85bb2a232774c03d5ef5bc6cc4972b /etc/rc
parent9bd8584be003206951fc40592b806b6e8403eb6f (diff)
move the pflog0 setup to the pflogd script and only
do that if pf is actually enabled (rely on pfctl -si) requested by deraadt@
Diffstat (limited to 'etc/rc')
-rw-r--r--etc/rc13
1 files changed, 2 insertions, 11 deletions
diff --git a/etc/rc b/etc/rc
index 67ef220bf57..086b62ac10b 100644
--- a/etc/rc
+++ b/etc/rc
@@ -1,4 +1,4 @@
-# $OpenBSD: rc,v 1.380 2011/07/08 16:20:13 ajacoutot Exp $
+# $OpenBSD: rc,v 1.381 2011/07/08 21:42:52 robert Exp $
# System startup script run by init on autoboot
# or after single-user.
@@ -415,16 +415,7 @@ dmesg >/var/run/dmesg.boot
make_keys
echo -n 'starting early daemons:'
-start_daemon syslogd ldattach
-
-if [ X"${pf}" != X"NO" ]; then
- ifconfig pflog0 create >/dev/null 2>&1
- if ifconfig pflog0 >/dev/null 2>&1; then
- ifconfig pflog0 up
- start_daemon pflogd
- fi
-fi
-
+start_daemon syslogd ldattach pflogd
start_daemon named nsd ntpd isakmpd iked sasyncd
echo '.'