* luci/app/statistics: enable luci_statistics and collectd in postinstall
[project/luci.git] / applications / luci-statistics / ipkg / postinst
index 69fe0c0..424d8c8 100755 (executable)
@@ -2,3 +2,6 @@
 [ -n "${IPKG_INSTROOT}" ] || {
        ( . /etc/uci-defaults/luci-statistics ) && rm -f /etc/uci-defaults/luci-statistics
 }
+
+/etc/init.d/luci_statistics enable
+/etc/init.d/collectd enable