diff --git a/ffho/ffho-status-page/luasrc/lib/gluon/status-page/www/cgi-bin/status b/ffho/ffho-status-page/luasrc/lib/gluon/status-page/www/cgi-bin/status index 5b56da50dc173cdb06c40a902129102b7a31864d..8e6e1d467d00a6272d722d43de841f0d21343b21 100755 --- a/ffho/ffho-status-page/luasrc/lib/gluon/status-page/www/cgi-bin/status +++ b/ffho/ffho-status-page/luasrc/lib/gluon/status-page/www/cgi-bin/status @@ -153,6 +153,20 @@ for _, ifname in ipairs(interfaces) do io.write("</pre>") end +io.write("<h2>Mesh Interfaces</h2>") +io.write("<pre>") +local iface = false +for _, line in ipairs(util.split(util.exec("batctl if"))) do + if not line:match("^primary0") then + io.write(line) + iface = true + end +end +if not iface then + io.write("none") +end +io.write("</pre>") + io.write("<h2>VPN status</h2>") io.write("<pre>")