diff options
Diffstat (limited to 'openvpn-controller.lua')
-rw-r--r-- | openvpn-controller.lua | 19 |
1 files changed, 18 insertions, 1 deletions
diff --git a/openvpn-controller.lua b/openvpn-controller.lua index b088758..a0c973b 100644 --- a/openvpn-controller.lua +++ b/openvpn-controller.lua @@ -115,7 +115,7 @@ end read = function (self) local me = {} me = cfe{name=conflistfilesaf, value="hej"} - return ( {conflistfiles = self.model:list_conffiles()} ) + return ( {conflistfiles = self.model:list_conffiles(), url = ENV["SCRIPT_NAME"] .. self.conf.prefix .. self.conf.controller} ) -- return ({conflistfiles = me}) -- return self.model:get() -- return build_form(self) @@ -123,6 +123,23 @@ end server_config = function (self) + return ( {url = ENV["SCRIPT_NAME"] .. self.conf.prefix .. self.conf.controller} ) +end + +client_config = function (self) + return ( {url = ENV["SCRIPT_NAME"] .. self.conf.prefix .. self.conf.controller} ) +end + +pem_info = function (self) +end + +status_info = function (self) +end + +unknown_config = function (self) +end + +logfile = function (self) end create = update |