950c7da0f124a37ef3232e2519038ec26a2aabb7
[project/luci.git] / applications / luci-asterisk / ipkg / postinst
1 #!/bin/sh
2 [ -n "${IPKG_INSTROOT}" ] || {
3 ( . /etc/uci-defaults/luci-asterisk ) && rm -f /etc/uci-defaults/luci-asterisk
4 /etc/init.d/asterisk enabled || /etc/init.d/asterisk enable
5 }