diff options
Diffstat (limited to 'rc-controller.lua')
-rw-r--r-- | rc-controller.lua | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/rc-controller.lua b/rc-controller.lua index 69fd183..ba235b6 100644 --- a/rc-controller.lua +++ b/rc-controller.lua @@ -13,3 +13,7 @@ edit = function(self) function() return self.model.read_runlevels(self.clientdata.servicename) end, self.model.update_runlevels, self.clientdata, "Save", "Edit Service Runlevels") end + +startstop = function(self) + return self:redirect_to_referrer(self.model.handle_startstop(self.clientdata.servicename, self.clientdata.action)) +end |