statistics: entropy plugin - fix placement of entropy.lua 454/head
authorHannu Nyman <hannu.nyman@iki.fi>
Fri, 28 Aug 2015 09:51:43 +0000 (12:51 +0300)
committerHannu Nyman <hannu.nyman@iki.fi>
Fri, 28 Aug 2015 09:51:43 +0000 (12:51 +0300)
Move the file entropy.lua to the correct directory.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
applications/luci-app-statistics/luasrc/statistics/rrdtool/definitions/entropy.lua [new file with mode: 0644]
applications/luci-app-statistics/luasrc/statistics/rrdtool/entropy.lua [deleted file]

diff --git a/applications/luci-app-statistics/luasrc/statistics/rrdtool/definitions/entropy.lua b/applications/luci-app-statistics/luasrc/statistics/rrdtool/definitions/entropy.lua
new file mode 100644 (file)
index 0000000..3d30a70
--- /dev/null
@@ -0,0 +1,19 @@
+-- Copyright 2015 Hannu Nyman <hannu.nyman@iki.fi>
+-- Licensed to the public under the Apache License 2.0.
+
+module("luci.statistics.rrdtool.definitions.entropy", package.seeall)
+
+function rrdargs( graph, plugin, plugin_instance, dtype )
+
+       return {
+               title = "%H: Available entropy",
+               vlabel = "bits",
+               number_format = "%4.0lf",
+               data = {
+                       types = { "entropy" },
+                       options = { entropy = { title = "Entropy %di" } }
+               }
+       }
+
+end
+
diff --git a/applications/luci-app-statistics/luasrc/statistics/rrdtool/entropy.lua b/applications/luci-app-statistics/luasrc/statistics/rrdtool/entropy.lua
deleted file mode 100644 (file)
index 3d30a70..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
--- Copyright 2015 Hannu Nyman <hannu.nyman@iki.fi>
--- Licensed to the public under the Apache License 2.0.
-
-module("luci.statistics.rrdtool.definitions.entropy", package.seeall)
-
-function rrdargs( graph, plugin, plugin_instance, dtype )
-
-       return {
-               title = "%H: Available entropy",
-               vlabel = "bits",
-               number_format = "%4.0lf",
-               data = {
-                       types = { "entropy" },
-                       options = { entropy = { title = "Entropy %di" } }
-               }
-       }
-
-end
-