applications/luci-statistics: Add support for memory plugin and initial support for...
[project/luci.git] / applications / luci-statistics / root / usr / bin / stat-genconfig
index 2b312cccfdbebb328c13d7caaa0ab07f9f24da18..97c3628abac905504da0465e46eb3c355e309112 100755 (executable)
@@ -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" },