summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-asterisk/ipkg/postinst
blob: 950c7da0f124a37ef3232e2519038ec26a2aabb7 (plain)
1
2
3
4
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
}