You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

26 lines
554 B

  1. --[[
  2. LuCI - Lua Configuration Interface
  3. Copyright 2008 Steven Barth <steven@midlink.org>
  4. Licensed under the Apache License, Version 2.0 (the "License");
  5. you may not use this file except in compliance with the License.
  6. You may obtain a copy of the License at
  7. http://www.apache.org/licenses/LICENSE-2.0
  8. $Id$
  9. ]]--
  10. module("luci.controller.sqm", package.seeall)
  11. function index()
  12. if not nixio.fs.access("/etc/config/sqm") then
  13. return
  14. end
  15. local page
  16. page = entry({"admin", "network", "sqm"}, cbi("sqm"), _("SQM QoS"))
  17. page.dependent = true
  18. end