From 6acb5c2ab4093973d03657f9eea248c135f58cfc Mon Sep 17 00:00:00 2001 From: Manuel Munz Date: Mon, 28 Nov 2011 04:42:50 +0000 Subject: applications/luci-statistics: Add support for memory plugin and initial support for conntrack --- applications/luci-statistics/root/usr/bin/stat-genconfig | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'applications/luci-statistics/root/usr') 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" }, -- cgit v1.2.3