modules/admin-full: prepare iface join wizzard
[project/luci.git] / modules / admin-full / luasrc / controller / admin / network.lua
index 12dd559..28ee82e 100644 (file)
@@ -51,6 +51,9 @@ function index()
        page.leaf   = true
        page.subindex = true
 
        page.leaf   = true
        page.subindex = true
 
+       local page = entry({"admin", "network", "add"}, cbi("admin_network/iface_add"), nil)
+       page.leaf = true
+
        uci:foreach("network", "interface",
                function (section)
                        local ifc = section[".name"]
        uci:foreach("network", "interface",
                function (section)
                        local ifc = section[".name"]