mirror of
https://github.com/kiddin9/op-packages.git
synced 2026-08-02 15:39:31 +08:00
12 lines
297 B
Lua
12 lines
297 B
Lua
module("luci.controller.cpulimit", package.seeall)
|
|
|
|
function index()
|
|
if not nixio.fs.access("/etc/config/cpulimit") then
|
|
return
|
|
end
|
|
|
|
local page = entry({"admin", "system", "cpulimit"}, cbi("cpulimit"), _("cpulimit"), 65)
|
|
page.dependent = true
|
|
page.acl_depends = { "luci-app-cpulimit" }
|
|
end
|