summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-statistics/root/usr/bin/stat-genconfig
diff options
context:
space:
mode:
authorManuel Munz <freifunk@somakoma.de>2011-11-28 04:42:50 +0000
committerManuel Munz <freifunk@somakoma.de>2011-11-28 04:42:50 +0000
commit6acb5c2ab4093973d03657f9eea248c135f58cfc (patch)
treeda67cf46f03aa0de44d14d8744f1af2209c51353 /applications/luci-statistics/root/usr/bin/stat-genconfig
parent20c24b09b25b8c8d7d3b500f6001618a1c230d15 (diff)
applications/luci-statistics: Add support for memory plugin and initial support for conntrack
Diffstat (limited to 'applications/luci-statistics/root/usr/bin/stat-genconfig')
-rwxr-xr-xapplications/luci-statistics/root/usr/bin/stat-genconfig9
1 files changed, 9 insertions, 0 deletions
diff --git a/applications/luci-statistics/root/usr/bin/stat-genconfig b/applications/luci-statistics/root/usr/bin/stat-genconfig
index 2b312cccfd..97c3628aba 100755
--- a/applications/luci-statistics/root/usr/bin/stat-genconfig
+++ b/applications/luci-statistics/root/usr/bin/stat-genconfig
@@ -192,6 +192,7 @@ function _list_expand( c, l, nopad )
k = n:gsub("(%w+)s", "%1")
end
+
str = str .. _expand( c[n], k, nopad )
end
end
@@ -257,6 +258,12 @@ plugins = {
{ }
},
+ conntrack = {
+ { },
+ { },
+ { }
+ },
+
cpu = {
{ },
{ },
@@ -327,6 +334,8 @@ plugins = {
{ "Interfaces", "WatchAdds" }
},
+ memory = { },
+
netlink = {
{ },
{ "IgnoreSelected" },