From: Jo-Philipp Wich Date: Tue, 3 Jun 2008 23:18:37 +0000 (+0000) Subject: * luci/statistics: added missing iptables/ipt_bytes definition, svn property fixups X-Git-Tag: 0.8.0~888 X-Git-Url: https://git.archive.openwrt.org/?p=project%2Fluci.git;a=commitdiff_plain;h=c95801569fe174ba9024625caa49cf97367a2e18;ds=sidebyside * luci/statistics: added missing iptables/ipt_bytes definition, svn property fixups --- 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$ ]]--