summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>1999-09-27 23:40:25 +0000
committerderaadt <deraadt@openbsd.org>1999-09-27 23:40:25 +0000
commit30879892399363dc99cc4243115d0f5eee53ec8e (patch)
tree127ba942c29bc87633a02b422003553ca3984d74
parentrandom on floppy (diff)
downloadwireguard-openbsd-30879892399363dc99cc4243115d0f5eee53ec8e.tar.xz
wireguard-openbsd-30879892399363dc99cc4243115d0f5eee53ec8e.zip
stir arandom, too; provos
-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