projects
/
project
/
luci.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
applications: enable related init scripts on opkg install, otherwise users would...
[project/luci.git]
/
applications
/
luci-asterisk
/
ipkg
/
postinst
diff --git
a/applications/luci-asterisk/ipkg/postinst
b/applications/luci-asterisk/ipkg/postinst
index 68f2b1a89fc415c726e955d3401d936a7fc26b2f..950c7da0f124a37ef3232e2519038ec26a2aabb7 100755
(executable)
--- 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
}