From c95801569fe174ba9024625caa49cf97367a2e18 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Tue, 3 Jun 2008 23:18:37 +0000 Subject: [PATCH] * luci/statistics: added missing iptables/ipt_bytes definition, svn property fixups --- .../definitions/iptables/ipt_bytes.lua | 27 +++++++++++++++++++ .../rrdtool/definitions/irq/irq.lua | 2 +- .../rrdtool/definitions/processes.lua | 2 +- 3 files changed, 29 insertions(+), 2 deletions(-) create mode 100644 applications/luci-statistics/luasrc/statistics/rrdtool/definitions/iptables/ipt_bytes.lua diff --git a/applications/luci-statistics/luasrc/statistics/rrdtool/definitions/iptables/ipt_bytes.lua b/applications/luci-statistics/luasrc/statistics/rrdtool/definitions/iptables/ipt_bytes.lua new file mode 100644 index 000000000..15a0ea3b7 --- /dev/null +++ b/applications/luci-statistics/luasrc/statistics/rrdtool/definitions/iptables/ipt_bytes.lua @@ -0,0 +1,27 @@ +--[[ + +Luci statistics - iptables plugin diagram definition +(c) 2008 Freifunk Leipzig / Jo-Philipp Wich + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +$Id$ + +]]-- + +module("luci.statistics.rrdtool.definitions.iptables.ipt_bytes", package.seeall) + +function rrdargs( graph, plugin, plugin_instance, dtype ) + + return { + data = { + options = { + ipt_bytes = { total = true } + } + } + } +end diff --git a/applications/luci-statistics/luasrc/statistics/rrdtool/definitions/irq/irq.lua b/applications/luci-statistics/luasrc/statistics/rrdtool/definitions/irq/irq.lua index 270e06fe6..67048c292 100644 --- a/applications/luci-statistics/luasrc/statistics/rrdtool/definitions/irq/irq.lua +++ b/applications/luci-statistics/luasrc/statistics/rrdtool/definitions/irq/irq.lua @@ -9,7 +9,7 @@ You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 -$Id: stat-genconfig 2272 2008-06-03 22:42:01Z nbd $ +$Id$ ]]-- diff --git a/applications/luci-statistics/luasrc/statistics/rrdtool/definitions/processes.lua b/applications/luci-statistics/luasrc/statistics/rrdtool/definitions/processes.lua index f2ca2c68a..dacba1312 100644 --- a/applications/luci-statistics/luasrc/statistics/rrdtool/definitions/processes.lua +++ b/applications/luci-statistics/luasrc/statistics/rrdtool/definitions/processes.lua @@ -9,7 +9,7 @@ You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 -$Id: stat-genconfig 2272 2008-06-03 22:42:01Z nbd $ +$Id$ ]]-- -- 2.25.1