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: set logfile as first item in collectd.conf
[project/luci.git]
/
applications
/
luci-app-statistics
/
root
/
usr
/
bin
/
stat-genconfig
diff --git
a/applications/luci-app-statistics/root/usr/bin/stat-genconfig
b/applications/luci-app-statistics/root/usr/bin/stat-genconfig
index
090344c
..
f92ee2a
100755
(executable)
--- a/
applications/luci-app-statistics/root/usr/bin/stat-genconfig
+++ b/
applications/luci-app-statistics/root/usr/bin/stat-genconfig
@@
-461,8
+461,10
@@
preprocess = {
section("collectd")
+section("logfile")
+
for plugin in pairs(plugins) do
- if
plugin ~= "collectd"
then
+ if
(plugin ~= "collectd") and (plugin ~= "logfile")
then
section( plugin )
end
end