summaryrefslogtreecommitdiffstats
path: root/qos-model.lua
diff options
context:
space:
mode:
Diffstat (limited to 'qos-model.lua')
-rw-r--r--qos-model.lua12
1 files changed, 8 insertions, 4 deletions
diff --git a/qos-model.lua b/qos-model.lua
index 81ba993..693ab5e 100644
--- a/qos-model.lua
+++ b/qos-model.lua
@@ -2,8 +2,8 @@ module(..., package.seeall)
-- Load libraries
require("modelfunctions")
-require("fs")
-require("format")
+fs = require("acf.fs")
+format = require("acf.format")
-- Set variables
local packagename = "iproute2-qos"
@@ -52,8 +52,12 @@ end
-- ################################################################################
-- PUBLIC FUNCTIONS
-function startstop_service(processname, 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()