summaryrefslogtreecommitdiffhomepage
path: root/applications
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2008-06-03 23:18:37 +0000
committerJo-Philipp Wich <jow@openwrt.org>2008-06-03 23:18:37 +0000
commitc95801569fe174ba9024625caa49cf97367a2e18 (patch)
tree9b1a407f3b6ed09de47fa650bb33eddccd675aec /applications
parentd0694fdb1ece991b57b748c29183ccd6563a9c42 (diff)
* luci/statistics: added missing iptables/ipt_bytes definition, svn property fixups
Diffstat (limited to 'applications')
-rw-r--r--applications/luci-statistics/luasrc/statistics/rrdtool/definitions/iptables/ipt_bytes.lua27
-rw-r--r--applications/luci-statistics/luasrc/statistics/rrdtool/definitions/irq/irq.lua2
-rw-r--r--applications/luci-statistics/luasrc/statistics/rrdtool/definitions/processes.lua2
3 files changed, 29 insertions, 2 deletions
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 0000000000..15a0ea3b79
--- /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 <xm@leipzig.freifunk.net>
+
+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 270e06fe6c..67048c2927 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 f2ca2c68a9..dacba13120 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$
]]--