]> CyberLeo.Net >> Repos - FreeBSD/releng/10.0.git/blob - etc/rc.d/ccd
- Copy stable/10 (r259064) to releng/10.0 as part of the
[FreeBSD/releng/10.0.git] / etc / rc.d / ccd
1 #!/bin/sh
2 #
3 # $FreeBSD$
4 #
5
6 # PROVIDE: disks
7 # KEYWORD: nojail
8
9 . /etc/rc.subr
10
11 name="ccd"
12 start_cmd="ccd_start"
13 stop_cmd=":"
14
15 ccd_start()
16 {
17         if [ -f /etc/ccd.conf ]; then
18                 echo "Configuring CCD devices."
19                 ccdconfig -C
20         fi
21 }
22
23 load_rc_config $name
24 run_rc_command "$1"