function index()
local uci = require("luci.model.uci").cursor()
-
local page
page = node("admin", "network")
page.order = 50
page.index = true
- if page.inreq then
+-- if page.inreq then
local has_switch = false
uci:foreach("network", "switch",
page = entry({"admin", "network", "diag_traceroute"}, call("diag_traceroute"), nil)
page.leaf = true
- end
+-- end
end
function wifi_join()