summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-multiwan/luasrc/controller/multiwan.lua
blob: 1cbcf9e273730eb80d48d854174f0a056123b2c1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
module("luci.controller.multiwan", package.seeall)

function index()
    local fs = luci.fs or nixio.fs
    if not fs.access("/etc/config/multiwan") then
		return
	end
	
	local page = entry({"admin", "network", "multiwan"}, cbi("multiwan/multiwan"), "Multi-WAN")
	page.i18n = "multiwan"
	page.dependent = true

end