From d17e770dc561eee09a9c7c0b741b1a8993bd4c11 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Sun, 11 Jan 2009 03:00:57 +0000 Subject: contrib/package/asterisk-xip: - switch to uci backend in init script - fix syntax error in syntax script - bump package revision --- contrib/package/asterisk-xip/files/asterisk.default | 2 +- contrib/package/asterisk-xip/files/asterisk.init | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'contrib/package/asterisk-xip/files') 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 -- cgit v1.2.3