Merge pull request #787 from rogerpueyo/luci-proto-ipip
[project/luci.git] / applications / luci-app-statistics / luasrc / model / cbi / luci_statistics / cpufreq.lua
1 -- Licensed to the public under the Apache License 2.0.
2
3 m = Map("luci_statistics",
4         translate("CPU Frequency Plugin Configuration"),
5         translate("This plugin collects statistics about the processor frequency scaling."))
6
7 -- collectd_cpufreq config section
8 s = m:section( NamedSection, "collectd_cpufreq", "luci_statistics" )
9
10 -- collectd_cpufreq.enable
11 enable = s:option( Flag, "enable", translate("Enable this plugin") )
12 enable.default = 0
13
14 return m