replaced openvpn start w openvpn --daemon --config

pull/10/head
Darren Kitchen 2015-09-20 09:00:53 -07:00
parent fb0d939a24
commit ba28490073
1 changed files with 2 additions and 1 deletions

View File

@ -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"