1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter-feeds.git synced 2025-02-15 03:51:51 +00:00
openmptcprouter-feeds/luci-app-cpufreq/luasrc/controller/cpufreq.lua
2023-01-18 20:37:29 +08:00

11 lines
293 B
Lua

module("luci.controller.cpufreq", package.seeall)
function index()
if not nixio.fs.access("/etc/config/cpufreq") then
return
end
local page = entry({"admin", "system", "cpufreq"}, cbi("cpufreq"), _("CPU Freq"), 90)
page.dependent = false
page.acl_depends = { "luci-app-cpufreq" }
end