option 'TcValidityTime' '324.0'
option 'HnaInterval' '18.0'
option 'MidInterval' '18.0'
- option 'Interface' 'br-ff'
+ option 'Interface' 'br-lan'
config 'ipc' 'IpcConnect'
option 'MaxConnections' '0'
]]--
+require("luci.fs")
require("luci.util")
require("luci.model.uci")
if sval then
rv = rv .. "}\n"
- end
+ end
return rv
end
-- plugin config sections
for k, v in luci.util.spairs(conf) do
if conf[k][".type"] == "LoadPlugin" then
- print( _section( k, "Library", "PlParam" ) )
+ if v.Library and luci.fs.access("/usr/lib/"..v.Library) then
+ print( _section( k, "Library", "PlParam" ) )
+ end
end
end