Sync usage with man page.
[netbsd-mini2440.git] / etc / rc.d / raidframeparity
blob9f20aafd8d9ef5980ff1a92478de299d56c296ef
1 #!/bin/sh
3 # $NetBSD: raidframeparity,v 1.3 2004/10/11 15:00:51 christos Exp $
6 # PROVIDE: raidframeparity
7 # REQUIRE: quota
9 $_rc_subr_loaded . /etc/rc.subr
11 name="raidframeparity"
12 start_cmd="raidframeparity_start"
13 stop_cmd=":"
15 raidframeparity_start()
17 # Initiate parity/mirror reconstruction as needed, in the background.
20 for dev in $(sysctl -n hw.disknames); do
21 case $dev in
22 raid[0-9]*)
23 raidctl -P $dev
25 esac
26 done
27 ) &
30 load_rc_config $name
31 run_rc_command "$1"