* luci/app/statistics: enable luci_statistics and collectd in postinstall
[project/luci.git] / applications / luci-statistics / ipkg / postinst
1 #!/bin/sh
2 [ -n "${IPKG_INSTROOT}" ] || {
3         ( . /etc/uci-defaults/luci-statistics ) && rm -f /etc/uci-defaults/luci-statistics
4 }
5
6 /etc/init.d/luci_statistics enable
7 /etc/init.d/collectd enable