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:
parent
11c7c9cfc0
commit
c21b255603
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=251207
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user