xref: /freebsd/libexec/rc/rc.d/ccd (revision 59c8e88e72633afbc47a4ace0d2170d00d51f7dc)
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