repo.or.cz
/
netbsd-mini2440.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Sync usage with man page.
[netbsd-mini2440.git]
/
etc
/
rc.d
/
ccd
blob
f3835cc293993b2a3802ed35d1d7678945d58d52
1
#!/bin/sh
2
#
3
# $NetBSD: ccd,v 1.5 2004/08/13 18:08:03 mycroft Exp $
4
#
5
6
# PROVIDE: ccd
7
# BEFORE: DISKS
8
9
$_rc_subr_loaded
.
/
etc
/
rc.subr
10
11
name
=
"ccd"
12
rcvar
=
$name
13
start_cmd
=
"ccd_start"
14
stop_cmd
=
":"
15
16
ccd_start
()
17
{
18
if
[
-f
/
etc
/
ccd.conf
];
then
19
echo
"Configuring CCD devices."
20
ccdconfig
-C
21
fi
22
}
23
24
load_rc_config
$name
25
run_rc_command
"
$1
"