From ba2849007398a2f3d6b57f232514486450915704 Mon Sep 17 00:00:00 2001 From: Darren Kitchen Date: Sun, 20 Sep 2015 09:00:53 -0700 Subject: [PATCH] replaced openvpn start w openvpn --daemon --config --- modules/openvpn | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/openvpn b/modules/openvpn index 55656cb..7e12b5e 100755 --- a/modules/openvpn +++ b/modules/openvpn @@ -14,7 +14,8 @@ CONF=/tmp/openvpn.form function start { if [ -s /etc/openvpn/my-vpn.conf ] then - /etc/init.d/openvpn start + #/etc/init.d/openvpn start + /usr/sbin/openvpn --daemon --config /etc/openvpn/my-vpn.conf echo -n "openvpn started with pid: "; pidof openvpn else echo "OpenVPN not configured"