summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2001-08-21 22:29:53 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2001-08-21 22:29:53 +0000
commite8a9c511686d5487c52741762f4f580987552026 (patch)
tree5053aa9ddfd6d80d348ea94f214383a2b6508ee8 /etc
parente5e30f2482ca9b096309bd325e8d49592595081a (diff)
start pflogd at the right place, I think
Diffstat (limited to 'etc')
-rw-r--r--etc/rc6
1 files changed, 5 insertions, 1 deletions
diff --git a/etc/rc b/etc/rc
index 639f2cdc10e..bc95aae9aa4 100644
--- a/etc/rc
+++ b/etc/rc
@@ -1,4 +1,4 @@
-# $OpenBSD: rc,v 1.179 2001/08/17 22:00:11 deraadt Exp $
+# $OpenBSD: rc,v 1.180 2001/08/21 22:29:52 deraadt Exp $
# System startup script run by init on autoboot
# or after single-user.
@@ -147,6 +147,10 @@ fi
mount /usr >/dev/null 2>&1
mount /var >/dev/null 2>&1
+if [ "X$pf" != X"NO" ]; then
+ pflogd
+fi
+
# if there's no /var/db/host.random, make one through /dev/urandom
if [ ! -f /var/db/host.random ]; then
dd if=/dev/urandom of=/var/db/host.random bs=1024 count=64 \