Update my email addresses in the license headers
[project/luci.git] / applications / luci-app-statistics / luasrc / model / cbi / luci_statistics / load.lua
1 -- Copyright 2008 Freifunk Leipzig / Jo-Philipp Wich <jow@openwrt.org>
2 -- Licensed to the public under the Apache License 2.0.
3
4 m = Map("luci_statistics",
5         translate("Load Plugin Configuration"),
6         translate(
7                 "The load plugin collects statistics about the general system load."
8         ))
9
10 -- collectd_wireless config section
11 s = m:section( NamedSection, "collectd_load", "luci_statistics" )
12
13 -- collectd_wireless.enable
14 enable = s:option( Flag, "enable", translate("Enable this plugin") )
15 enable.default = 0
16
17 return m