1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00

Fix getting dahdi_enable value in rc.d script.

This commit is contained in:
Max Khon 2010-03-18 13:57:26 +00:00
parent 11c7c9cfc0
commit c21b255603
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=251207
4 changed files with 10 additions and 4 deletions

View File

@ -7,7 +7,7 @@
PORTNAME= dahdi
PORTVERSION= ${DAHDI_VERSION:S/-//g}
PORTREVISION= 2
PORTREVISION= 3
CATEGORIES= misc kld
MASTER_SITES= ${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= fjoe

View File

@ -23,12 +23,15 @@
. %%RC_SUBR%%
name="dahdi"
rcvar=`set_rcvar`
start_cmd="dahdi_start"
stop_cmd="dahdi_stop"
load_rc_config $name
: ${dahdi_enable="NO"}
: ${dahdi_modules="dahdi"}
kmod_dir=%%PREFIX%%/lib/dahdi
dahdi_modules=${dahdi_modules:-dahdi}
# reverse list
dahdi_modules_unload=""
for m in ${dahdi_modules}; do

View File

@ -7,7 +7,7 @@
PORTNAME= dahdi
PORTVERSION= ${DAHDI_VERSION:S/-//g}
PORTREVISION= 2
PORTREVISION= 3
CATEGORIES= misc kld
MASTER_SITES= ${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= fjoe

View File

@ -23,12 +23,15 @@
. %%RC_SUBR%%
name="dahdi"
rcvar=`set_rcvar`
start_cmd="dahdi_start"
stop_cmd="dahdi_stop"
load_rc_config $name
: ${dahdi_enable="NO"}
: ${dahdi_modules="dahdi"}
kmod_dir=%%PREFIX%%/lib/dahdi
dahdi_modules=${dahdi_modules:-dahdi}
# reverse list
dahdi_modules_unload=""
for m in ${dahdi_modules}; do