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