summaryrefslogtreecommitdiffstats
path: root/etc/rc.d/ccd
blob: 0847a3cf48db1c3752e7ec7bd7c6a11ffd7b0f8a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#!/bin/sh
#
# $NetBSD: ccd,v 1.3 2000/05/13 08:45:06 lukem Exp $
# $FreeBSD$
#

# PROVIDE: disks
# KEYWORD: FreeBSD

. /etc/rc.subr

name="ccd"
start_cmd="ccd_start"
stop_cmd=":"

ccd_start()
{
	if [ -f /etc/ccd.conf ]; then
		echo "Configuring CCD devices."
		ccdconfig -C
	fi
}

load_rc_config $name
run_rc_command "$1"
OpenPOWER on IntegriCloud