diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1999-09-27 23:40:26 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1999-09-27 23:40:26 +0000 |
commit | 9d9dde208b771a1645e2d57ee9f33cce154a3cb3 (patch) | |
tree | e38151cc7eff4ce5fc69ac34e01a9f35532f678c /etc | |
parent | 5173d368edb3d0855c526ba7e219f821a49dae20 (diff) |
stir arandom, too; provos
Diffstat (limited to 'etc')
-rw-r--r-- | etc/rc | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -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 |