Skip to content

Commit 7a29e8e

Browse files
committed
Extra client config is now an array
1 parent 16fbc40 commit 7a29e8e

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

bin/ovpn_getclient

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,9 @@ remote $OVPN_CN $OVPN_PORT $OVPN_PROTO"
4444
if [ "$OVPN_PROTO" == "tcp6" ]; then
4545
echo "remote $OVPN_CN $OVPN_PORT tcp"
4646
fi
47-
echo "$OVPN_ADDITIONAL_CLIENT_CONFIG
48-
"
47+
for i in "${OVPN_EXTRA_CLIENT_CONFIG[@]}"; do
48+
echo "$i"
49+
done
4950
if [ "$mode" == "combined" ]; then
5051
echo "
5152
<key>

0 commit comments

Comments
 (0)