Browse Source

Configure raid devices at boot (from NetBSD, ok by niklas@).

OPENBSD_2_6
jakob 25 years ago
parent
commit
6ca5300c3f
1 changed files with 8 additions and 1 deletions
  1. +8
    -1
      src/etc/rc

+ 8
- 1
src/etc/rc View File

@ -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


Loading…
Cancel
Save