summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-asterisk
diff options
context:
space:
mode:
Diffstat (limited to 'applications/luci-asterisk')
-rwxr-xr-xapplications/luci-asterisk/ipkg/postinst1
1 files changed, 1 insertions, 0 deletions
diff --git a/applications/luci-asterisk/ipkg/postinst b/applications/luci-asterisk/ipkg/postinst
index 68f2b1a89f..950c7da0f1 100755
--- a/applications/luci-asterisk/ipkg/postinst
+++ b/applications/luci-asterisk/ipkg/postinst
@@ -1,4 +1,5 @@
#!/bin/sh
[ -n "${IPKG_INSTROOT}" ] || {
( . /etc/uci-defaults/luci-asterisk ) && rm -f /etc/uci-defaults/luci-asterisk
+ /etc/init.d/asterisk enabled || /etc/init.d/asterisk enable
}