module(..., package.seeall) -- Load libraries require("controllerfunctions") default_action = "status" function status(self) return self.model.getstatus() end function startstop(self) return controllerfunctions.handle_startstop(self, self.model.startstop_service, self.clientdata) end function expert(self) return controllerfunctions.handle_form(self, self.model.get_filedetails, self.model.update_filedetails, self.clientdata, "Save", "Edit Pingu Config", "Configuration Set") end