flm01/mote/v1/openwrt/package/luci/applications/luci-asterisk/ipkg/postinst

6 lines
184 B
Plaintext
Raw Permalink Normal View History

#!/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
}