diff options
author | Ted Trask <ttrask01@yahoo.com> | 2009-12-29 14:59:46 +0000 |
---|---|---|
committer | Ted Trask <ttrask01@yahoo.com> | 2009-12-29 14:59:46 +0000 |
commit | 7ec500251e61075bff07c8d40274cca92ba321af (patch) | |
tree | 011459100560b8cc81d148eb26a74ef77e2b379c /openvpn-controller.lua | |
parent | a164ef3512aeb64918d0240c8bfe1512d1ff509b (diff) | |
download | acf-openvpn-7ec500251e61075bff07c8d40274cca92ba321af.tar.bz2 acf-openvpn-7ec500251e61075bff07c8d40274cca92ba321af.tar.xz |
Moved certificates to subdirectory and enabled multiple instances.
Diffstat (limited to 'openvpn-controller.lua')
-rw-r--r-- | openvpn-controller.lua | 5 |
1 files changed, 5 insertions, 0 deletions
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) |