diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2011-01-14 00:05:43 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2011-01-14 00:05:43 +0000 |
commit | 78d22eb17c7d70589d372ab81ed63625087cf907 (patch) | |
tree | 4b356a275f4d61c267456ba47da0594dea09a30e /etc | |
parent | e5d5cff6955e34c53524b76dc726d383ef4fdb71 (diff) |
in the most trivial way, request that the kernel arc4random re-key after
we run netstart
ok tedu, djm liked it too
Diffstat (limited to 'etc')
-rw-r--r-- | etc/rc | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1,4 +1,4 @@ -# $OpenBSD: rc,v 1.347 2011/01/10 06:44:49 deraadt Exp $ +# $OpenBSD: rc,v 1.348 2011/01/14 00:05:42 deraadt Exp $ # System startup script run by init on autoboot # or after single-user. @@ -294,6 +294,7 @@ if [ -f /etc/resolv.conf.save ]; then touch /etc/resolv.conf fi . /etc/netstart +echo rekey > /dev/arandom # any write triggers an RC4 rekey if [ X"${pf}" != X"NO" ]; then if [ -f ${pf_rules} ]; then |