summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-statistics/luasrc/statistics/rrdtool/definitions/iwinfo.lua
diff options
context:
space:
mode:
authorFlorian Eckert <fe@dev.tdt.de>2019-03-07 14:50:17 +0100
committerFlorian Eckert <fe@dev.tdt.de>2019-03-07 15:16:55 +0100
commitcd1e8cc6b94ef9aed2199d69f54c94d0c0919605 (patch)
tree0d2c4a6808ce09e51489153f865e39c0b7defa00 /applications/luci-app-statistics/luasrc/statistics/rrdtool/definitions/iwinfo.lua
parent82c2a97314e5a569042056233475d1f97c1278ad (diff)
luci-app-statistics: add new item callback for menu entry
Add the item callback function to the rrdtool definitions. Signed-off-by: Florian Eckert <fe@dev.tdt.de>
Diffstat (limited to 'applications/luci-app-statistics/luasrc/statistics/rrdtool/definitions/iwinfo.lua')
-rw-r--r--applications/luci-app-statistics/luasrc/statistics/rrdtool/definitions/iwinfo.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/applications/luci-app-statistics/luasrc/statistics/rrdtool/definitions/iwinfo.lua b/applications/luci-app-statistics/luasrc/statistics/rrdtool/definitions/iwinfo.lua
index 194afd6fc..53f4c7a40 100644
--- a/applications/luci-app-statistics/luasrc/statistics/rrdtool/definitions/iwinfo.lua
+++ b/applications/luci-app-statistics/luasrc/statistics/rrdtool/definitions/iwinfo.lua
@@ -3,6 +3,10 @@
module("luci.statistics.rrdtool.definitions.iwinfo", package.seeall)
+function item()
+ return luci.i18n.translate("Wireless")
+end
+
function rrdargs( graph, plugin, plugin_instance )
--