summaryrefslogtreecommitdiffhomepage
path: root/contrib/package/asterisk-xip/files
diff options
context:
space:
mode:
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 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