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