From: Daniel Dickinson Date: Mon, 5 Dec 2016 21:19:37 +0000 (-0500) Subject: app-statistics: df: Don't separate disk usage types X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=refs%2Fpull%2F938%2Fhead;p=project%2Fluci.git app-statistics: df: Don't separate disk usage types The df plugin wasn't displaying useful lables for the space used vs free vs reserved due to title override. This patch fixes that issues by removing the per-instance setting. Signed-off-by: Daniel Dickinson --- diff --git a/applications/luci-app-statistics/luasrc/statistics/rrdtool/definitions/df.lua b/applications/luci-app-statistics/luasrc/statistics/rrdtool/definitions/df.lua index fbc3884b46..b5633c15ff 100644 --- a/applications/luci-app-statistics/luasrc/statistics/rrdtool/definitions/df.lua +++ b/applications/luci-app-statistics/luasrc/statistics/rrdtool/definitions/df.lua @@ -8,7 +8,6 @@ function rrdargs( graph, plugin, plugin_instance, dtype ) return { title = "%H: Disk space usage on %pi", vlabel = "Bytes", - per_instance = true, number_format = "%5.1lf%sB", data = {