Merge pull request #214 from yanndegat/master

Fix  OVPN_ADDITIONAL_CLIENT_CONFIG
This commit is contained in:
Kyle Manna 2017-02-06 06:59:43 -08:00 committed by GitHub
commit f487184a4a

View File

@ -37,8 +37,8 @@ nobind
dev $OVPN_DEVICE dev $OVPN_DEVICE
key-direction 1 key-direction 1
remote-cert-tls server remote-cert-tls server
remote $OVPN_CN $OVPN_PORT $OVPN_PROTO remote $OVPN_CN $OVPN_PORT $OVPN_PROTO
$OVPN_ADDITIONAL_CLIENT_CONFIG
" "
if [ "$mode" == "combined" ]; then if [ "$mode" == "combined" ]; then
echo " echo "
@ -62,7 +62,6 @@ key ${cn}.key
ca ca.crt ca ca.crt
cert ${cn}.crt cert ${cn}.crt
tls-auth ta.key 1 tls-auth ta.key 1
$OVPN_ADDITIONAL_CLIENT_CONFIG
" "
fi fi