Merge branch 'master' of ssh://crater.dragonflybsd.org/repository/git/dragonfly
[dragonfly.git] / etc / rc.d / ccd
blobfce3d019864c1a4536225adef8a27c078ce2fb9a
1 #!/bin/sh
3 # $NetBSD: ccd,v 1.3 2000/05/13 08:45:06 lukem Exp $
4 # $FreeBSD: src/etc/rc.d/ccd,v 1.2 2002/06/13 22:14:36 gordon Exp $
5 # $DragonFly: src/etc/rc.d/ccd,v 1.3 2005/11/19 21:47:32 swildner Exp $
8 # PROVIDE: disks
10 . /etc/rc.subr
12 name="ccd"
13 start_cmd="ccd_start"
14 stop_cmd=":"
16 ccd_start()
18 if [ -f /etc/ccd.conf ]; then
19 echo "Configuring CCD devices."
20 ccdconfig -C
24 load_rc_config $name
25 run_rc_command "$1"