Merge dc81fda059
into 4ce85afc22
This commit is contained in:
commit
9750210809
@ -73,6 +73,7 @@ io.write("<h2>Neighbours</h2>")
|
|||||||
|
|
||||||
local interfaces = util.split(util.trim(util.exec("iw dev | egrep 'type IBSS|type mesh' -B 5 | grep Interface | cut -d' ' -f2")))
|
local interfaces = util.split(util.trim(util.exec("iw dev | egrep 'type IBSS|type mesh' -B 5 | grep Interface | cut -d' ' -f2")))
|
||||||
|
|
||||||
|
if interfaces ~= {} then
|
||||||
for _, ifname in ipairs(interfaces) do
|
for _, ifname in ipairs(interfaces) do
|
||||||
io.write("<h3>" .. escape_html(ifname) .. "</h3>")
|
io.write("<h3>" .. escape_html(ifname) .. "</h3>")
|
||||||
io.write("<pre>")
|
io.write("<pre>")
|
||||||
@ -88,6 +89,7 @@ for _, ifname in ipairs(interfaces) do
|
|||||||
|
|
||||||
io.write("</pre>")
|
io.write("</pre>")
|
||||||
end
|
end
|
||||||
|
end
|
||||||
|
|
||||||
local stat, fastd_status = pcall(
|
local stat, fastd_status = pcall(
|
||||||
function()
|
function()
|
||||||
|
Loading…
Reference in New Issue
Block a user