|
@ -1,4 +1,4 @@ |
|
|
# $OpenBSD: rc,v 1.156 2000/10/18 21:28:54 mickey Exp $ |
|
|
|
|
|
|
|
|
# $OpenBSD: rc,v 1.157 2000/10/27 06:36:35 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. |
|
@ -142,6 +142,11 @@ else |
|
|
> /dev/null 2>&1 |
|
|
> /dev/null 2>&1 |
|
|
fi |
|
|
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 |
|
|
|
|
|
|
|
|
# clean up left-over files |
|
|
# clean up left-over files |
|
|
rm -f /etc/nologin |
|
|
rm -f /etc/nologin |
|
|
rm -f /var/spool/lock/LCK.* |
|
|
rm -f /var/spool/lock/LCK.* |
|
|