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

10 lines
274 B
Plaintext
Raw Permalink Normal View History

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