Extra client config is now an array

This commit is contained in:
Nicolas Duchon 2017-06-21 01:30:35 +02:00
parent 16fbc4019d
commit 7a29e8e39b

View File

@ -44,8 +44,9 @@ remote $OVPN_CN $OVPN_PORT $OVPN_PROTO"
if [ "$OVPN_PROTO" == "tcp6" ]; then if [ "$OVPN_PROTO" == "tcp6" ]; then
echo "remote $OVPN_CN $OVPN_PORT tcp" echo "remote $OVPN_CN $OVPN_PORT tcp"
fi fi
echo "$OVPN_ADDITIONAL_CLIENT_CONFIG for i in "${OVPN_EXTRA_CLIENT_CONFIG[@]}"; do
" echo "$i"
done
if [ "$mode" == "combined" ]; then if [ "$mode" == "combined" ]; then
echo " echo "
<key> <key>