From 9b767cf8dfc1c404f0deb0d8eff704b2e6adeb37 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Mon, 8 Jun 2009 20:00:50 +0000 Subject: applications: enable related init scripts on opkg install, otherwise users would have to use the shell --- applications/luci-asterisk/ipkg/postinst | 1 + 1 file changed, 1 insertion(+) (limited to 'applications/luci-asterisk/ipkg/postinst') 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 } -- cgit v1.2.3