summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-qos/luasrc/controller/qos.lua
blob: 250a0392f763e73a061f728ace582241e06bc8ac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
-- Copyright 2008 Steven Barth <steven@midlink.org>
-- Licensed to the public under the Apache License 2.0.

module("luci.controller.qos", package.seeall)

function index()
	if not nixio.fs.access("/etc/config/qos") then
		return
	end
	
	local page

	page = entry({"admin", "network", "qos"}, cbi("qos/qos"), _("QoS"))
	page.dependent = true
end