diff options
-rw-r--r-- | Makefile | 4 | ||||
-rw-r--r-- | openssh-config-html.lsp | 2 | ||||
-rw-r--r-- | openssh-connectedpeers-html.lsp | 2 | ||||
-rw-r--r-- | openssh-model.lua | 6 | ||||
-rw-r--r-- | openssh-welcome-html.lsp | 2 |
5 files changed, 8 insertions, 8 deletions
@@ -8,7 +8,7 @@ APP_DIST=\ EXTRA_DIST=README Makefile config.mk -DISTFILES=$(APP_DIST) $(EXTRA_DIST) +DISTFILES=$(APP_DIST) $(EXTRA_DIST) TAR=tar @@ -25,7 +25,7 @@ dist: $(tarball) install: mkdir -p "$(install_dir)" cp -a $(APP_DIST) "$(install_dir)" - + $(tarball): $(DISTFILES) rm -rf $(P) diff --git a/openssh-config-html.lsp b/openssh-config-html.lsp index 34e58b4..396abfe 100644 --- a/openssh-config-html.lsp +++ b/openssh-config-html.lsp @@ -1,4 +1,4 @@ -<% local form, viewlibrary, page_info, session = ... +<% local form, viewlibrary, page_info, session = ... htmlviewfunctions = require("htmlviewfunctions") html = require("acf.html") %> diff --git a/openssh-connectedpeers-html.lsp b/openssh-connectedpeers-html.lsp index 7ee8fd9..5cac7d9 100644 --- a/openssh-connectedpeers-html.lsp +++ b/openssh-connectedpeers-html.lsp @@ -1,4 +1,4 @@ -<% local data, viewlibrary, page_info, session = ... +<% local data, viewlibrary, page_info, session = ... htmlviewfunctions = require("htmlviewfunctions") html = require("acf.html") %> 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 diff --git a/openssh-welcome-html.lsp b/openssh-welcome-html.lsp index f5394c5..46d57d1 100644 --- a/openssh-welcome-html.lsp +++ b/openssh-welcome-html.lsp @@ -1,4 +1,4 @@ -<% local data, viewlibrary, page_info, session = ... +<% local data, viewlibrary, page_info, session = ... %> <% if viewlibrary and viewlibrary.dispatch_component and viewlibrary.check_permission("status") then |