blob: 69fd183ad329bcd065a814ae09715ff5a4516c57 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
module (..., package.seeall)
require("controllerfunctions")
default_action = "status"
status = function(self)
return self.model.status()
end
edit = function(self)
return controllerfunctions.handle_form(self,
function() return self.model.read_runlevels(self.clientdata.servicename) end,
self.model.update_runlevels, self.clientdata, "Save", "Edit Service Runlevels")
end
|