From 1a984ba9cd50e553eea00631ab5e2dcf140840b0 Mon Sep 17 00:00:00 2001 From: yanndegat Date: Mon, 6 Feb 2017 15:49:31 +0100 Subject: [PATCH] Fix OVPN_ADDITIONAL_CLIENT_CONFIG OVPN_ADDITIONAL_CLIENT_CONFIG isn't available in combined mode --- bin/ovpn_getclient | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/bin/ovpn_getclient b/bin/ovpn_getclient index 8efb827..d2674da 100755 --- a/bin/ovpn_getclient +++ b/bin/ovpn_getclient @@ -37,8 +37,8 @@ nobind dev $OVPN_DEVICE key-direction 1 remote-cert-tls server - remote $OVPN_CN $OVPN_PORT $OVPN_PROTO +$OVPN_ADDITIONAL_CLIENT_CONFIG " if [ "$mode" == "combined" ]; then echo " @@ -62,7 +62,6 @@ key ${cn}.key ca ca.crt cert ${cn}.crt tls-auth ta.key 1 -$OVPN_ADDITIONAL_CLIENT_CONFIG " fi