From cd5e1962f0cbb377ea15891b86ea563b27feba73 Mon Sep 17 00:00:00 2001 From: root Date: Thu, 4 Jun 2009 15:52:48 +0000 Subject: Updated for startstop in core 0.5.0 --- iptables-controller.lua | 2 +- iptables-model.lua | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/iptables-controller.lua b/iptables-controller.lua index 16fac32..2cecc56 100644 --- a/iptables-controller.lua +++ b/iptables-controller.lua @@ -60,5 +60,5 @@ function expert(self) end function startstop(self) - return controllerfunctions.handle_startstop(self, self.model.startstop_service, self.model.getstatus, self.clientdata) + return controllerfunctions.handle_startstop(self, self.model.startstop_service, self.clientdata) end diff --git a/iptables-model.lua b/iptables-model.lua index d893f60..e13048f 100644 --- a/iptables-model.lua +++ b/iptables-model.lua @@ -556,5 +556,5 @@ function updaterulesfile(filedetails) end function startstop_service(action) - return modelfunctions.startstop_service(servicename, action, {"start", "stop", "restart", "save", "reload", "panic"}) + return modelfunctions.startstop_service(servicename, action, {"Start", "Stop", "Restart", "Save", "Reload", "Panic"}) end -- cgit v1.2.3