* luci/app/statistics: enable luci_statistics and collectd in postinstall
authorJo-Philipp Wich <jow@openwrt.org>
Tue, 4 Nov 2008 20:23:45 +0000 (20:23 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Tue, 4 Nov 2008 20:23:45 +0000 (20:23 +0000)
applications/luci-statistics/ipkg/postinst

index 69fe0c016725f51252fecc8fa7f0d4c4b3394b26..424d8c88dd345463e71118cdc2d2604914d4e9f6 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