|
@ -1,4 +1,4 @@ |
|
|
# $OpenBSD: rc,v 1.292 2006/10/29 18:58:57 norby Exp $ |
|
|
|
|
|
|
|
|
# $OpenBSD: rc,v 1.293 2006/11/06 21:55: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. |
|
@ -270,12 +270,12 @@ else |
|
|
> /dev/null 2>&1 |
|
|
> /dev/null 2>&1 |
|
|
dd if=/var/db/host.random of=/dev/arandom bs=1024 count=64 \ |
|
|
dd if=/var/db/host.random of=/dev/arandom bs=1024 count=64 \ |
|
|
> /dev/null 2>&1 |
|
|
> /dev/null 2>&1 |
|
|
fi |
|
|
|
|
|
|
|
|
|
|
|
# reset seed file, so that if a shutdown-less reboot occurs, |
|
|
|
|
|
# the next seed is not a repeat |
|
|
|
|
|
dd if=/dev/urandom of=/var/db/host.random bs=1024 count=64 \ |
|
|
|
|
|
> /dev/null 2>&1 |
|
|
|
|
|
|
|
|
# reset seed file, so that if a shutdown-less reboot occurs, |
|
|
|
|
|
# the next seed is not a repeat |
|
|
|
|
|
dd if=/dev/urandom of=/var/db/host.random bs=1024 count=64 \ |
|
|
|
|
|
> /dev/null 2>&1 |
|
|
|
|
|
fi |
|
|
|
|
|
|
|
|
# clean up left-over files |
|
|
# clean up left-over files |
|
|
rm -f /etc/nologin |
|
|
rm -f /etc/nologin |
|
|