<%- local ubus = require "ubus" local sys = require "luci.sys" local utl = require "luci.util" function getnetworkkey() local k, v, result local conn = ubus.connect() if not conn then error("Failed to connect to ubusd") end result = conn:call("otbr", "networkkey", {}).Networkkey return result end -%> <%+header%>

<%:Join Network: %><%=luci.http.formvalue("NetworkName")%>




<%:Network Key %>
"/><%:Please input your network key to ensure you join the right network.%>



" /> " />
<%+footer%>