flm01/openwrt/package/luci/applications/luci-statistics/ipkg/postinst

8 lines
264 B
Bash
Executable File

#!/bin/sh
[ -n "${IPKG_INSTROOT}" ] || {
( . /etc/uci-defaults/luci-statistics ) && rm -f /etc/uci-defaults/luci-statistics
/etc/init.d/luci_statistics enabled || /etc/init.d/luci_statistics enable
/etc/init.d/collectd enabled || /etc/init.d/collectd enable
}