contrib/package/asterisk-xip:
- switch to uci backend in init script - fix syntax error in syntax script - bump package revision
This commit is contained in:
parent
e6fc123a0a
commit
d17e770dc5
3 changed files with 3 additions and 3 deletions
|
@ -11,7 +11,7 @@ include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
PKG_NAME:=asterisk
|
PKG_NAME:=asterisk
|
||||||
PKG_VERSION:=1.4.22
|
PKG_VERSION:=1.4.22
|
||||||
PKG_RELEASE:=3
|
PKG_RELEASE:=4
|
||||||
|
|
||||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||||
PKG_SOURCE_URL:=http://downloads.digium.com/pub/asterisk/releases/
|
PKG_SOURCE_URL:=http://downloads.digium.com/pub/asterisk/releases/
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
## startup options for /etc/init.d/asterisk
|
## startup options for /etc/init.d/asterisk
|
||||||
|
|
||||||
ENABLE_ASTERISK="yes"
|
ENABLE_ASTERISK="uci"
|
||||||
OPTIONS=""
|
OPTIONS=""
|
||||||
|
|
|
@ -46,7 +46,7 @@ reload_uci() {
|
||||||
|
|
||||||
start() {
|
start() {
|
||||||
[ -f $DEFAULT ] && . $DEFAULT
|
[ -f $DEFAULT ] && . $DEFAULT
|
||||||
case ${ENABLE_ASTERISK-no} in
|
case ${ENABLE_ASTERISK:-no} in
|
||||||
uci) start_uci ;;
|
uci) start_uci ;;
|
||||||
yes)
|
yes)
|
||||||
[ -d /var/run ] || mkdir -p /var/run
|
[ -d /var/run ] || mkdir -p /var/run
|
||||||
|
|
Loading…
Reference in a new issue