luci-app-statistics: set logfile as first item in collectd.conf
[project/luci.git] / applications / luci-app-statistics / root / usr / bin / stat-genconfig
index 090344c..f92ee2a 100755 (executable)
@@ -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