applications/luci-statistics: cope with uci list values, thanks Bluse for reporting...
[project/luci.git] / applications / luci-statistics / root / usr / bin / stat-genconfig
index 8d43b8a..171c1ae 100755 (executable)
@@ -208,6 +208,13 @@ function _expand( s, n, nopad )
                end
 
                return str
+
+       elseif type(s) == "table" then
+               local str = ""
+
+               for i, v in ipairs(s) do
+                       str = str .. _string( v, n, nopad )
+               end
        end
 end
 
@@ -315,6 +322,12 @@ plugins = {
                { "Irqs" }
        },
 
+       iwinfo = {
+               { },
+               { "IgnoreSelected" },
+               { "Interfaces" }
+       },
+
        load    = {
                { },
                { },