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 090344cee4642063d6d68c5521869988d045a945..f92ee2a6e94cd3127c8530abd2a0474d2c98104d 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