cpufreq.lua 451 B

1234567891011121314
  1. -- Licensed to the public under the Apache License 2.0.
  2. m = Map("luci_statistics",
  3. translate("CPU Frequency Plugin Configuration"),
  4. translate("This plugin collects statistics about the processor frequency scaling."))
  5. -- collectd_cpufreq config section
  6. s = m:section( NamedSection, "collectd_cpufreq", "luci_statistics" )
  7. -- collectd_cpufreq.enable
  8. enable = s:option( Flag, "enable", translate("Enable this plugin") )
  9. enable.default = 0
  10. return m