|
|
@ -1,4 +1,4 @@ |
|
|
|
# $OpenBSD: rc,v 1.169 2001/05/03 21:56:57 deraadt Exp $ |
|
|
|
# $OpenBSD: rc,v 1.170 2001/05/15 21:28:43 deraadt Exp $ |
|
|
|
|
|
|
|
# System startup script run by init on autoboot |
|
|
|
# or after single-user. |
|
|
@ -64,6 +64,8 @@ for dev in 0 1 2 3; do |
|
|
|
fi |
|
|
|
done |
|
|
|
|
|
|
|
swapon -a |
|
|
|
|
|
|
|
if [ -e /fastboot ]; then |
|
|
|
echo "Fast boot: skipping disk checks." |
|
|
|
elif [ $1x = autobootx ]; then |
|
|
@ -102,8 +104,6 @@ fi |
|
|
|
|
|
|
|
trap "echo 'Boot interrupted.'; exit 1" 3 |
|
|
|
|
|
|
|
swapon -a |
|
|
|
|
|
|
|
umount -a >/dev/null 2>&1 |
|
|
|
mount -a -t nonfs |
|
|
|
mount -uw / # root on nfs requires this, others aren't hurt |
|
|
|