summaryrefslogtreecommitdiffstats
path: root/ospf-model.lua
diff options
context:
space:
mode:
Diffstat (limited to 'ospf-model.lua')
-rw-r--r--ospf-model.lua10
1 files changed, 7 insertions, 3 deletions
diff --git a/ospf-model.lua b/ospf-model.lua
index 67ff868..55154f3 100644
--- a/ospf-model.lua
+++ b/ospf-model.lua
@@ -2,7 +2,7 @@ module(..., package.seeall)
-- Load libraries
require("modelfunctions")
-require("format")
+format = require("acf.format")
-- Set variables
local path="PATH=/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin "
@@ -57,8 +57,12 @@ end
-- ################################################################################
-- PUBLIC FUNCTIONS
-function startstop_service(action)
- return modelfunctions.startstop_service(processname, action)
+function get_startstop(clientdata)
+ return modelfunctions.get_startstop(processname)
+end
+
+function startstop_service(startstop, action)
+ return modelfunctions.startstop_service(startstop, action)
end
function getstatus()