Browse Source

start pflogd at the right place, I think

OPENBSD_3_0
deraadt 23 years ago
parent
commit
f90607b1d5
1 changed files with 5 additions and 1 deletions
  1. +5
    -1
      src/etc/rc

+ 5
- 1
src/etc/rc View File

@ -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 # System startup script run by init on autoboot
# or after single-user. # or after single-user.
@ -147,6 +147,10 @@ fi
mount /usr >/dev/null 2>&1 mount /usr >/dev/null 2>&1
mount /var >/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 there's no /var/db/host.random, make one through /dev/urandom
if [ ! -f /var/db/host.random ]; then if [ ! -f /var/db/host.random ]; then
dd if=/dev/urandom of=/var/db/host.random bs=1024 count=64 \ dd if=/dev/urandom of=/var/db/host.random bs=1024 count=64 \


Loading…
Cancel
Save