summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortdeval <tdeval@openbsd.org>2002-02-17 20:26:03 +0000
committertdeval <tdeval@openbsd.org>2002-02-17 20:26:03 +0000
commit5a87f5994e43a4471a7b85ba7bc8267b041cc61a (patch)
tree6812576d80dbbbb48b6687c87f94165292ddd489
parentraidctl can do some actions on 'all' configured raids now : (diff)
downloadwireguard-openbsd-5a87f5994e43a4471a7b85ba7bc8267b041cc61a.tar.xz
wireguard-openbsd-5a87f5994e43a4471a7b85ba7bc8267b041cc61a.zip
raid(4) parity check simplification
-rw-r--r--etc/rc6
1 files changed, 4 insertions, 2 deletions
diff --git a/etc/rc b/etc/rc
index 436dadde0ac..34e08c6dbdb 100644
--- a/etc/rc
+++ b/etc/rc
@@ -1,4 +1,4 @@
-# $OpenBSD: rc,v 1.189 2002/02/09 17:37:34 deraadt Exp $
+# $OpenBSD: rc,v 1.190 2002/02/17 20:26:03 tdeval Exp $
# System startup script run by init on autoboot
# or after single-user.
@@ -60,10 +60,12 @@ fi
for dev in 0 1 2 3; do
if [ -f /etc/raid$dev.conf ]; then
raidctl -c /etc/raid$dev.conf raid$dev
- raidctl -v -P raid$dev
fi
done
+# Check parity on raid devices.
+raidctl -v -P all
+
swapctl -A -t blk
if [ -e /fastboot ]; then