From 6ca5300c3f5fed53dce4acd5bc6f4d5f968430f3 Mon Sep 17 00:00:00 2001 From: jakob <> Date: Wed, 26 May 1999 08:40:00 +0000 Subject: [PATCH] Configure raid devices at boot (from NetBSD, ok by niklas@). --- src/etc/rc | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/etc/rc b/src/etc/rc index 284028b9..368b6145 100644 --- a/src/etc/rc +++ b/src/etc/rc @@ -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