summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1999-09-27 23:40:26 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1999-09-27 23:40:26 +0000
commit9d9dde208b771a1645e2d57ee9f33cce154a3cb3 (patch)
treee38151cc7eff4ce5fc69ac34e01a9f35532f678c /etc
parent5173d368edb3d0855c526ba7e219f821a49dae20 (diff)
stir arandom, too; provos
Diffstat (limited to 'etc')
-rw-r--r--etc/rc6
1 files changed, 4 insertions, 2 deletions
diff --git a/etc/rc b/etc/rc
index a7c8b6105c5..1da561445ea 100644
--- a/etc/rc
+++ b/etc/rc
@@ -1,4 +1,4 @@
-# $OpenBSD: rc,v 1.111 1999/09/04 22:20:20 millert Exp $
+# $OpenBSD: rc,v 1.112 1999/09/27 23:40:25 deraadt Exp $
# System startup script run by init on autoboot
# or after single-user.
@@ -100,7 +100,9 @@ if [ ! -f /var/db/host.random ]; then
chmod 600 /var/db/host.random
else
dd if=/var/db/host.random of=/dev/urandom bs=1024 count=64 \
- >/dev/null 2>&1
+ > /dev/null 2>&1
+ dd if=/var/db/host.random of=/dev/arandom bs=1024 count=64 >
+ > /dev/null 2>&1
fi
# set hostname, turn on network