xref: /freebsd/libexec/rc/rc.d/ccd (revision 2e3f49888ec8851bafb22011533217487764fdb0)
1#!/bin/sh
2#
3#
4
5# PROVIDE: disks
6# KEYWORD: nojail
7
8. /etc/rc.subr
9
10name="ccd"
11desc="Concatenated disks setup"
12start_cmd="ccd_start"
13stop_cmd=":"
14
15ccd_start()
16{
17	if [ -f /etc/ccd.conf ]; then
18		echo "Configuring CCD devices."
19		ccdconfig -C
20	fi
21}
22
23load_rc_config $name
24run_rc_command "$1"
25