|
|
@ -1,4 +1,4 @@ |
|
|
|
# $OpenBSD: rc,v 1.97 1999/05/24 18:00:05 millert Exp $ |
|
|
|
# $OpenBSD: rc,v 1.98 1999/05/26 08:40:00 jakob Exp $ |
|
|
|
|
|
|
|
# System startup script run by init on autoboot |
|
|
|
# or after single-user. |
|
|
@ -21,6 +21,13 @@ if [ -f /etc/ccd.conf ]; then |
|
|
|
ccdconfig -C |
|
|
|
fi |
|
|
|
|
|
|
|
# Configure raid devices. |
|
|
|
for dev in 0 1 2 3; do |
|
|
|
if [ -f /etc/raid$dev.conf ]; then |
|
|
|
raidctl -c /etc/raid$dev.conf raid$dev |
|
|
|
fi |
|
|
|
done |
|
|
|
|
|
|
|
if [ -e /fastboot ]; then |
|
|
|
echo "Fast boot: skipping disk checks." |
|
|
|
elif [ $1x = autobootx ]; then |
|
|
|