|
|
@ -37,7 +37,7 @@ function detect_Node()
|
|
|
|
end
|
|
|
|
end
|
|
|
|
local Nodes = luci.sys.exec("batctl n 2>/dev/null| tail +3 | wc -l")
|
|
|
|
local Nodes = luci.sys.exec("batctl n 2>/dev/null| tail +3 | wc -l")
|
|
|
|
local Node = detect_Node()
|
|
|
|
local Node = detect_Node()
|
|
|
|
v = m:section(Table, Node, "" ,"<b>" .. translate("Active node") .. ":" .. Nodes .. "</b>")
|
|
|
|
v = m:section(Table, Node, "" ,"<b>" .. translate("Active node") .. "" .. Nodes .. "</b>")
|
|
|
|
v:option(DummyValue, "IF", translate("IF"))
|
|
|
|
v:option(DummyValue, "IF", translate("IF"))
|
|
|
|
v:option(DummyValue, "Neighbor", translate("Neighbor"))
|
|
|
|
v:option(DummyValue, "Neighbor", translate("Neighbor"))
|
|
|
|
v:option(DummyValue, "lastseen", translate("lastseen"))
|
|
|
|
v:option(DummyValue, "lastseen", translate("lastseen"))
|
|
|
|