xref: /freebsd/libexec/rc/rc.d/ccd (revision a4128aad8503277614f2d214011ef60a19447b83)
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
24
25# doesn't make sense to run in a svcj: nojail keyword
26ccd_svcj="NO"
27
28run_rc_command "$1"
29