summaryrefslogtreecommitdiffhomepage
path: root/contrib/package/asterisk-xip/files
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 /contrib/package/asterisk-xip/files
parente6fc123a0a46e101a1c2ee8734bc333f7f62f506 (diff)
contrib/package/asterisk-xip:
- switch to uci backend in init script - fix syntax error in syntax script - bump package revision
Diffstat (limited to 'contrib/package/asterisk-xip/files')
-rw-r--r--contrib/package/asterisk-xip/files/asterisk.default2
-rwxr-xr-xcontrib/package/asterisk-xip/files/asterisk.init2
2 files changed, 2 insertions, 2 deletions
diff --git a/contrib/package/asterisk-xip/files/asterisk.default b/contrib/package/asterisk-xip/files/asterisk.default
index 9d046c42da..5468d324d6 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 64a7d906ca..4b17c43270 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