summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-statistics
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2008-11-04 20:23:45 +0000
committerJo-Philipp Wich <jow@openwrt.org>2008-11-04 20:23:45 +0000
commit8ac2e55b20540ff79c1535e406c73935855fa33e (patch)
tree08492df6a2310cb86ed79248410685318a61aac5 /applications/luci-statistics
parent5889342843fb5fd0d6acfeabbb0e95e565e3940c (diff)
* luci/app/statistics: enable luci_statistics and collectd in postinstall
Diffstat (limited to 'applications/luci-statistics')
-rwxr-xr-xapplications/luci-statistics/ipkg/postinst3
1 files changed, 3 insertions, 0 deletions
diff --git a/applications/luci-statistics/ipkg/postinst b/applications/luci-statistics/ipkg/postinst
index 69fe0c016..424d8c88d 100755
--- a/applications/luci-statistics/ipkg/postinst
+++ b/applications/luci-statistics/ipkg/postinst
@@ -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