d1116630b48da2d9c96aa9d0ab8894d9a6a60105
[oweals/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