summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2009-01-11 03:00:57 +0000
committerJo-Philipp Wich <jow@openwrt.org>2009-01-11 03:00:57 +0000
commitd17e770dc561eee09a9c7c0b741b1a8993bd4c11 (patch)
tree015538cd5d4d1366d4955b31c46f0a12632b96c5
parente6fc123a0a46e101a1c2ee8734bc333f7f62f506 (diff)
contrib/package/asterisk-xip:
- switch to uci backend in init script - fix syntax error in syntax script - bump package revision
-rw-r--r--contrib/package/asterisk-xip/Makefile2
-rw-r--r--contrib/package/asterisk-xip/files/asterisk.default2
-rwxr-xr-xcontrib/package/asterisk-xip/files/asterisk.init2
3 files changed, 3 insertions, 3 deletions
diff --git a/contrib/package/asterisk-xip/Makefile b/contrib/package/asterisk-xip/Makefile
index 13ecbe0ec..f56d91383 100644
--- a/contrib/package/asterisk-xip/Makefile
+++ b/contrib/package/asterisk-xip/Makefile
@@ -11,7 +11,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=asterisk
PKG_VERSION:=1.4.22
-PKG_RELEASE:=3
+PKG_RELEASE:=4
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://downloads.digium.com/pub/asterisk/releases/
diff --git a/contrib/package/asterisk-xip/files/asterisk.default b/contrib/package/asterisk-xip/files/asterisk.default
index 9d046c42d..5468d324d 100644
--- a/contrib/package/asterisk-xip/files/asterisk.default
+++ b/contrib/package/asterisk-xip/files/asterisk.default
@@ -1,4 +1,4 @@
## startup options for /etc/init.d/asterisk
-ENABLE_ASTERISK="yes"
+ENABLE_ASTERISK="uci"
OPTIONS=""
diff --git a/contrib/package/asterisk-xip/files/asterisk.init b/contrib/package/asterisk-xip/files/asterisk.init
index 64a7d906c..4b17c4327 100755
--- a/contrib/package/asterisk-xip/files/asterisk.init
+++ b/contrib/package/asterisk-xip/files/asterisk.init
@@ -46,7 +46,7 @@ reload_uci() {
start() {
[ -f $DEFAULT ] && . $DEFAULT
- case ${ENABLE_ASTERISK-no} in
+ case ${ENABLE_ASTERISK:-no} in
uci) start_uci ;;
yes)
[ -d /var/run ] || mkdir -p /var/run