summaryrefslogtreecommitdiffstats
path: root/rrdtool-controller.lua
diff options
context:
space:
mode:
Diffstat (limited to 'rrdtool-controller.lua')
-rw-r--r--rrdtool-controller.lua5
1 files changed, 5 insertions, 0 deletions
diff --git a/rrdtool-controller.lua b/rrdtool-controller.lua
index 71c429f..56b9a1e 100644
--- a/rrdtool-controller.lua
+++ b/rrdtool-controller.lua
@@ -27,3 +27,8 @@ function listrrd(self)
return cfe({ type="list", value=configfiles.value, label="RoundRobinDatabase (rrd) files" })
end
+
+function createrrd(self)
+ return controllerfunctions.handle_form(self, self.model.createnewrrd, self.model.write_file, self.clientdata, "Save", "Edit Interfaces file", "File saved")
+
+end