diff --git a/openvpn/nordvpn/configure-openvpn.sh b/openvpn/nordvpn/configure-openvpn.sh index c8044fcc3..ef589378e 100755 --- a/openvpn/nordvpn/configure-openvpn.sh +++ b/openvpn/nordvpn/configure-openvpn.sh @@ -8,9 +8,7 @@ export NORDVPN_CATEGORY if [[ -n $OPENVPN_CONFIG ]]; then - tmp_Protocol="${OPENVPN_CONFIG##*.}" - export NORDVPN_PROTOCOL=${tmp_Protocol^^} - echo "Setting NORDVPN_PROTOCOL to: ${NORDVPN_PROTOCOL}" + echo "Downloading user specified config. NORDVPN_PROTOCOL is set to: ${NORDVPN_PROTOCOL}" ${VPN_PROVIDER_HOME}/updateConfigs.sh --openvpn-config elif [[ -n $NORDVPN_COUNTRY ]]; then export OPENVPN_CONFIG=$(${VPN_PROVIDER_HOME}/updateConfigs.sh)