From 1bb4822dca6113f73e3bc89e2acf15935e6f8e92 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Wed, 3 Dec 2014 15:17:05 +0100 Subject: Rework LuCI build system * Rename subdirectories to their repective OpenWrt package names * Make each LuCI module its own standalone package * Deploy a shared luci.mk which is used by each module Makefile Signed-off-by: Jo-Philipp Wich --- applications/luci-app-asterisk/ipkg/postinst | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100755 applications/luci-app-asterisk/ipkg/postinst (limited to 'applications/luci-app-asterisk/ipkg/postinst') diff --git a/applications/luci-app-asterisk/ipkg/postinst b/applications/luci-app-asterisk/ipkg/postinst new file mode 100755 index 000000000..a4fae6df1 --- /dev/null +++ b/applications/luci-app-asterisk/ipkg/postinst @@ -0,0 +1,6 @@ +#!/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 + exit 0 +} -- cgit v1.2.3