From 2e2e16a50fad3a9a99fa8021d235de77556bdad9 Mon Sep 17 00:00:00 2001 From: Ted Trask Date: Thu, 8 Jan 2009 19:04:51 +0000 Subject: Modified chrony to add key file functionality. git-svn-id: svn://svn.alpinelinux.org/acf/chrony/trunk@1671 ab2d0c66-481e-0410-8bed-d214d4d58bed --- chrony-controller.lua | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'chrony-controller.lua') diff --git a/chrony-controller.lua b/chrony-controller.lua index 4870690..9d5a77e 100644 --- a/chrony-controller.lua +++ b/chrony-controller.lua @@ -20,6 +20,14 @@ function config(self) return controllerfunctions.handle_form(self, self.model.get_config, self.model.update_config, self.clientdata, "Save", "Edit Config", "Configuration Set") end +function keyfile(self) + return controllerfunctions.handle_form(self, self.model.get_keyfiledetails, self.model.update_keyfiledetails, self.clientdata, "Save", "Edit Key File", "Key File Saved") +end + +function enablekeyfile(self) + return self:redirect_to_referrer(self.model.enable_keyfile()) +end + function expert(self) return controllerfunctions.handle_form(self, self.model.get_filedetails, self.model.update_filedetails, self.clientdata, "Save", "Edit Config File", "Configuration Set") end -- cgit v1.2.3