diff options
Diffstat (limited to 'chrony-controller.lua')
-rw-r--r-- | chrony-controller.lua | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/chrony-controller.lua b/chrony-controller.lua index 5cc1b1b..4b02a8d 100644 --- a/chrony-controller.lua +++ b/chrony-controller.lua @@ -12,6 +12,10 @@ function startstop(self) return controllerfunctions.handle_startstop(self, self.model.startstop_service, self.model.getstatus, self.clientdata) end +function config(self) + return controllerfunctions.handle_form(self, self.model.getconfig, self.model.setconfig, self.clientdata, "Save", "Edit Config", "Configuration Set") +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 |