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
Expand PMF_FN_* macros.
[netbsd-mini2440.git]
/
etc
/
rc.d
/
cgd
blob
9f6186b3c29699bc49fb5d80cc43418c9e4f6c99
1
#!/bin/sh
2
#
3
# $NetBSD: joerg $
4
#
5
6
# PROVIDE: cgd
7
# REQUIRE: rndctl
8
# BEFORE: DISKS
9
# KEYWORD: interactive
10
11
$_rc_subr_loaded
.
/
etc
/
rc.subr
12
13
name
=
"cgd"
14
rcvar
=
$name
15
start_cmd
=
"cgd_start"
16
stop_cmd
=
":"
17
18
cgd_start
()
19
{
20
if
[
-f
/
etc
/
cgd
/
cgd.conf
];
then
21
print_rc_normal
"Configuring CGD devices."
22
cgdconfig
-C
23
fi
24
}
25
26
load_rc_config
$name
27
run_rc_command
"
$1
"