summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-dcwapd/luasrc/controller/dcwapd.lua
blob: f13c4220056c2a6f7a4fec723f14214d2fa6c17f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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