Make installation of bl-1 stuff optional.
This commit is contained in:
parent
5f8a489622
commit
2ac5940673
1 changed files with 5 additions and 2 deletions
|
@ -18,11 +18,13 @@ DEPENDENCIES="
|
||||||
run:
|
run:
|
||||||
app-emulation/vhba-module
|
app-emulation/vhba-module
|
||||||
"
|
"
|
||||||
|
MYOPTIONS="baselayout"
|
||||||
|
|
||||||
cdemud_src_install() {
|
cdemud_src_install() {
|
||||||
default
|
default
|
||||||
|
|
||||||
hereinitd cdemud <<EOF
|
if option baselayout ; then
|
||||||
|
hereinitd cdemud <<EOF
|
||||||
#!/sbin/runscript
|
#!/sbin/runscript
|
||||||
|
|
||||||
depend() {
|
depend() {
|
||||||
|
@ -43,9 +45,10 @@ stop() {
|
||||||
}
|
}
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
hereconfd cdemud <<EOF
|
hereconfd cdemud <<EOF
|
||||||
# options passed to the cdemud
|
# options passed to the cdemud
|
||||||
#CDEMUD_OPTS=--num-devices=10
|
#CDEMUD_OPTS=--num-devices=10
|
||||||
EOF
|
EOF
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue