summaryrefslogtreecommitdiffstats
path: root/openntpd-controller.lua
diff options
context:
space:
mode:
Diffstat (limited to 'openntpd-controller.lua')
-rw-r--r--openntpd-controller.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/openntpd-controller.lua b/openntpd-controller.lua
index 8b1fe04..9e520c6 100644
--- a/openntpd-controller.lua
+++ b/openntpd-controller.lua
@@ -31,6 +31,10 @@ settings = function (self)
end
end
+logfile = function (self)
+ return ( {logfile = self.model:get_logfile(), url = url } )
+end
+
read = function (self)
local cmd = self.clientdata.cmd
local url = ENV["SCRIPT_NAME"] .. self.conf.prefix .. self.conf.controller