summaryrefslogtreecommitdiffstats
path: root/openssh-model.lua
diff options
context:
space:
mode:
Diffstat (limited to 'openssh-model.lua')
-rw-r--r--openssh-model.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/openssh-model.lua b/openssh-model.lua
index a24d952..acd89fd 100644
--- a/openssh-model.lua
+++ b/openssh-model.lua
@@ -46,11 +46,11 @@ end
-- ################################################################################
-- PUBLIC FUNCTIONS
-function mymodule.get_startstop(self, clientdata)
+function mymodule.get_startstop(self, clientdata)
return modelfunctions.get_startstop(processname)
end
-function mymodule.startstop_service(self, startstop, action)
+function mymodule.startstop_service(self, startstop, action)
return modelfunctions.startstop_service(startstop, action)
end
@@ -75,7 +75,7 @@ function mymodule.read_config()
output.UseDNS = cfe({ type="boolean", value=false, label="Use DNS", seq=5 })
local config = format.parse_configfile(fs.read_file(configfile) or "")
- if config then
+ if config then
output.Port.value = config.Port or output.Port.value
output.ListenAddress.value = config.ListenAddress or output.ListenAddress.value
output.PermitRootLogin.value = config.PermitRootLogin or output.PermitRootLogin.value