flm01/openwrt/package/luci/applications/luci-asterisk/ipkg/.svn/text-base/postinst.svn-base

6 lines
184 B
Bash

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