projects
/
project
/
luci.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
* luci/app/statistics: enable luci_statistics and collectd in postinstall
[project/luci.git]
/
applications
/
luci-statistics
/
ipkg
/
postinst
diff --git
a/applications/luci-statistics/ipkg/postinst
b/applications/luci-statistics/ipkg/postinst
index 69fe0c016725f51252fecc8fa7f0d4c4b3394b26..424d8c88dd345463e71118cdc2d2604914d4e9f6 100755
(executable)
--- 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