diff options
Diffstat (limited to 'etc/rc.d/raidframe')
-rwxr-xr-x | etc/rc.d/raidframe | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/etc/rc.d/raidframe b/etc/rc.d/raidframe deleted file mode 100755 index e0a974ad593a..000000000000 --- a/etc/rc.d/raidframe +++ /dev/null @@ -1,40 +0,0 @@ -#!/bin/sh -# -# $NetBSD: raidframe,v 1.5 2000/11/17 05:43:46 lukem Exp $ -# - -# PROVIDE: disks - -. /etc/rc.subr - -name="raidframe" -start_cmd="raidframe_start" -stop_cmd=":" - -raidframe_start() -{ - # Configure non-auto-configured raid devices. - # Ensure order by globbing raid[0-9].conf before raid[0-9][0-9].conf. - # - for cfg in /etc/raid[0-9].conf /etc/raid[0-9][0-9].conf ; do - [ ! -f $cfg ] && continue - dev=${cfg##*/} - dev=${dev%%.conf} - raidctl -c $cfg $dev - done - - # Initiate parity/mirror reconstruction as needed, in the background. - # - ( - for dev in `sysctl -n hw.disknames`; do - case $dev in - raid[0-9]*) - raidctl -P $dev - ;; - esac - done - ) & -} - -load_rc_config $name -run_rc_command "$1" |