From 7ec500251e61075bff07c8d40274cca92ba321af Mon Sep 17 00:00:00 2001 From: Ted Trask Date: Tue, 29 Dec 2009 14:59:46 +0000 Subject: Moved certificates to subdirectory and enabled multiple instances. --- openvpn-controller.lua | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'openvpn-controller.lua') diff --git a/openvpn-controller.lua b/openvpn-controller.lua index a2926d6..3155701 100644 --- a/openvpn-controller.lua +++ b/openvpn-controller.lua @@ -2,6 +2,11 @@ module (..., package.seeall) require("controllerfunctions") +mvc = {} +mvc.on_load = function(self, parent) + self.model.set_processname(string.match(self.conf.prefix, "[^/]+")) +end + default_action = "status" status = function(self) -- cgit v1.2.3