diff options
author | Carey Sonsino <csonsino@gmail.com> | 2019-09-12 00:38:35 +0000 |
---|---|---|
committer | Carey Sonsino <csonsino@gmail.com> | 2019-10-08 14:10:52 +0000 |
commit | 838f1d8ca2a1696cfa0906a381900bc48045e4f8 (patch) | |
tree | d2c39461b67c9ff6e0cfe5649b41b236842a7fba /applications/luci-app-dcwapd/luasrc/controller | |
parent | aed5e932e3bb06d5b97e435b0fd7b43e8e7c20e7 (diff) |
luci-app-dcwapd: Add Dual Channel Wi-Fi AP Daemon Pages
Signed-off-by: Carey Sonsino <careys@edgewaterwireless.com>
Signed-off-by: Carey Sonsino <csonsino@gmail.com>
Diffstat (limited to 'applications/luci-app-dcwapd/luasrc/controller')
-rw-r--r-- | applications/luci-app-dcwapd/luasrc/controller/dcwapd.lua | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/applications/luci-app-dcwapd/luasrc/controller/dcwapd.lua b/applications/luci-app-dcwapd/luasrc/controller/dcwapd.lua new file mode 100644 index 0000000000..f13c422005 --- /dev/null +++ b/applications/luci-app-dcwapd/luasrc/controller/dcwapd.lua @@ -0,0 +1,13 @@ +-- Copyright 2019 EWSI +-- Licensed to the public under the Apache License 2.0. + +module("luci.controller.dcwapd", package.seeall) + +function index() + if not nixio.fs.access("/etc/config/dcwapd") then + return + end + local page + page = entry({"admin", "network", "dcwapd"}, cbi("dcwapd/dcwapd"), _("Dual Channel WiFi")) + page.dependent = true +end |