summaryrefslogtreecommitdiffstats
path: root/etc/rc.d/ccd
diff options
context:
space:
mode:
Diffstat (limited to 'etc/rc.d/ccd')
-rwxr-xr-xetc/rc.d/ccd23
1 files changed, 23 insertions, 0 deletions
diff --git a/etc/rc.d/ccd b/etc/rc.d/ccd
new file mode 100755
index 0000000..57c6406
--- /dev/null
+++ b/etc/rc.d/ccd
@@ -0,0 +1,23 @@
+#!/bin/sh
+#
+# $NetBSD: ccd,v 1.2 2000/04/26 05:13:51 thorpej Exp $
+#
+
+# PROVIDE: disks
+
+. /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