if not nopad then pad = "\t" end
if s then
- if s:find("[^%d]") then
- if not s:find("[^%w]") then
+ if s:find("[^%d]") or n == "Port" then
+ if not s:find("[^%w]") and n ~= "Port" then
str = pad .. n .. " " .. luci.util.trim(s)
else
str = pad .. n .. ' "' .. luci.util.trim(s) .. '"'
{ }
},
+ madwifi = {
+ { "WatchSet" },
+ { },
+ { "Interfaces", "WatchAdds" }
+ },
+
netlink = {
{ },
{ "IgnoreSelected" },
network = config_network,
+ olsrd = {
+ { "Host", "Port", "CollectLinks","CollectRoutes","CollectTopology"},
+ { },
+ { }
+ },
+
ping = {
{ "TTL", "Interval" },
{ },