2000-03-10 14:53:23 +03:00
|
|
|
#!/bin/sh
|
|
|
|
#
|
2000-05-13 12:45:06 +04:00
|
|
|
# $NetBSD: ccd,v 1.3 2000/05/13 08:45:06 lukem Exp $
|
2000-03-10 14:53:23 +03:00
|
|
|
#
|
|
|
|
|
2000-04-26 09:13:51 +04:00
|
|
|
# PROVIDE: disks
|
2000-03-10 14:53:23 +03:00
|
|
|
|
|
|
|
. /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
|
|
|
|
}
|
|
|
|
|
2000-05-13 12:45:06 +04:00
|
|
|
load_rc_config $name
|
2000-03-10 14:53:23 +03:00
|
|
|
run_rc_command "$1"
|