|
@ -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 \ |
|
|