applications/luci-statistics: add missing nut plugin entry to config menu
authorJo-Philipp Wich <jow@openwrt.org>
Tue, 11 Dec 2012 13:49:07 +0000 (13:49 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Tue, 11 Dec 2012 13:49:07 +0000 (13:49 +0000)
applications/luci-statistics/luasrc/controller/luci_statistics/luci_statistics.lua

index 7d8e6bf4a4c23be81d44b85bee4674c501c88aee..869384c0a693a1fc87a6c8223c791d82d65e457a 100644 (file)
@@ -50,7 +50,7 @@ function index()
                memory          = _("Memory"),
                netlink         = _("Netlink"),
                network         = _("Network"),
-               nut             = _("UPS"),
+               nut                     = _("UPS"),
                olsrd           = _("OLSRd"),
                ping            = _("Ping"),
                processes       = _("Processes"),
@@ -62,7 +62,7 @@ function index()
        -- our collectd menu
        local collectd_menu = {
                output  = { "csv", "network", "rrdtool", "unixsock" },
-               system  = { "cpu", "df", "disk", "email", "exec", "irq", "load", "memory", "processes" },
+               system  = { "cpu", "df", "disk", "email", "exec", "irq", "load", "memory", "nut", "processes" },
                network = { "conntrack", "dns", "interface", "iptables", "netlink", "olsrd", "ping", "tcpconns", "iwinfo" }
        }