summaryrefslogtreecommitdiffstats
path: root/shorewall-model.lua
diff options
context:
space:
mode:
Diffstat (limited to 'shorewall-model.lua')
-rw-r--r--shorewall-model.lua9
1 files changed, 0 insertions, 9 deletions
diff --git a/shorewall-model.lua b/shorewall-model.lua
index 7326094..d438b66 100644
--- a/shorewall-model.lua
+++ b/shorewall-model.lua
@@ -189,15 +189,6 @@ function startstop_service(self, startstop, action)
return modelfunctions.startstop_service(startstop, action)
end
-function configcheck ()
- local checkresult = {">> Check starts at: " .. os.date() .. "\n"}
- local f = io.popen("/etc/init.d/shorewall check 2>&1")
- checkresult[2] = f:read("*a") or ""
- f:close()
- checkresult[3] = ">> Check stops at: "..os.date()
- return cfe({ type="longtext", value=table.concat(checkresult, "\n"), label="Result of checking config" })
-end
-
function getlogfile ()
local logfilepath = format.parse_ini_file(fs.read_file(configfile) or "","","LOGFILE") or ""
return cfe({ value=logfilepath, label="Shorewall logfile" })