2 LuCI - Lua Development Framework
4 Copyright 2009 Steven Barth <steven@midlink.org>
6 Licensed under the Apache License, Version 2.0 (the "License");
7 you may not use this file except in compliance with the License.
8 You may obtain a copy of the License at
10 http://www.apache.org/licenses/LICENSE-2.0
15 local require = require
16 module "luci.controller.niu.wireless"
19 local toniu = {on_success_to={"niu"}}
21 local e = entry({"niu", "wireless"}, alias("niu"), "Wireless", 20)
22 --e.niu_dbtemplate = "niu/wireless"
24 e.niu_dbicon = "icons32/network-wireless.png"
26 entry({"niu", "wireless", "ap"},
27 cbi("niu/network/ap", toniu), "Configure Private Access Point", 1)