summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-dcwapd/luasrc/controller
diff options
context:
space:
mode:
authorCarey Sonsino <csonsino@gmail.com>2019-09-12 00:38:35 +0000
committerCarey Sonsino <csonsino@gmail.com>2019-10-08 14:10:52 +0000
commit838f1d8ca2a1696cfa0906a381900bc48045e4f8 (patch)
treed2c39461b67c9ff6e0cfe5649b41b236842a7fba /applications/luci-app-dcwapd/luasrc/controller
parentaed5e932e3bb06d5b97e435b0fd7b43e8e7c20e7 (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.lua13
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