From c1380ab36797dc4a9cba5a6aa738019452178d79 Mon Sep 17 00:00:00 2001 From: Matthias Berndt Date: Thu, 4 Jul 2019 00:40:58 +0200 Subject: make luci-app-statistics more extensible --- .../luci-app-statistics/luasrc/statistics/plugins/nut.lua | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 applications/luci-app-statistics/luasrc/statistics/plugins/nut.lua (limited to 'applications/luci-app-statistics/luasrc/statistics/plugins/nut.lua') diff --git a/applications/luci-app-statistics/luasrc/statistics/plugins/nut.lua b/applications/luci-app-statistics/luasrc/statistics/plugins/nut.lua new file mode 100644 index 0000000000..c490c4fd7a --- /dev/null +++ b/applications/luci-app-statistics/luasrc/statistics/plugins/nut.lua @@ -0,0 +1,9 @@ +return { + legend = { + { }, + { }, + { "UPS" } + }, + label = _("UPS"), + category = "general" +} -- cgit v1.2.3