From 7a29e8e39ba78271fa3eb14823b32d0018271d95 Mon Sep 17 00:00:00 2001 From: Nicolas Duchon Date: Wed, 21 Jun 2017 01:30:35 +0200 Subject: [PATCH] Extra client config is now an array --- bin/ovpn_getclient | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/bin/ovpn_getclient b/bin/ovpn_getclient index 5567735..9619e25 100755 --- a/bin/ovpn_getclient +++ b/bin/ovpn_getclient @@ -44,8 +44,9 @@ remote $OVPN_CN $OVPN_PORT $OVPN_PROTO" if [ "$OVPN_PROTO" == "tcp6" ]; then echo "remote $OVPN_CN $OVPN_PORT tcp" fi - echo "$OVPN_ADDITIONAL_CLIENT_CONFIG -" + for i in "${OVPN_EXTRA_CLIENT_CONFIG[@]}"; do + echo "$i" + done if [ "$mode" == "combined" ]; then echo "