2015-01-16 22:38:38 +00:00
|
|
|
-- Copyright 2008 Steven Barth <steven@midlink.org>
|
|
|
|
-- Licensed to the public under the Apache License 2.0.
|
2011-08-12 13:16:27 +00:00
|
|
|
|
2008-06-08 08:14:31 +00:00
|
|
|
module("luci.controller.qos", package.seeall)
|
|
|
|
|
|
|
|
function index()
|
2009-07-19 00:24:58 +00:00
|
|
|
if not nixio.fs.access("/etc/config/qos") then
|
2008-06-08 08:14:31 +00:00
|
|
|
return
|
|
|
|
end
|
|
|
|
|
2011-08-12 13:16:27 +00:00
|
|
|
local page
|
|
|
|
|
|
|
|
page = entry({"admin", "network", "qos"}, cbi("qos/qos"), _("QoS"))
|
2008-07-17 16:02:29 +00:00
|
|
|
page.dependent = true
|
2009-07-19 00:24:58 +00:00
|
|
|
end
|