summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-statistics/luasrc/model/cbi/luci_statistics/cpufreq.lua
blob: d1116630b48da2d9c96aa9d0ab8894d9a6a60105 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
-- Licensed to the public under the Apache License 2.0.

m = Map("luci_statistics",
	translate("CPU Frequency Plugin Configuration"),
	translate("This plugin collects statistics about the processor frequency scaling."))

-- collectd_cpufreq config section
s = m:section( NamedSection, "collectd_cpufreq", "luci_statistics" )

-- collectd_cpufreq.enable
enable = s:option( Flag, "enable", translate("Enable this plugin") )
enable.default = 0

return m