Fix for automatic setting of NORDVPN_PROTOCOL
NORDVPN_PROTOCOL wasn't being set correctly when an OPENVPN_CONFIG was provided. Now fixed.
This commit is contained in:
@@ -43,7 +43,9 @@ then
|
||||
|
||||
if [[ ! -z $OPENVPN_CONFIG ]]
|
||||
then
|
||||
export NORDVPN_CATEGORY="${OPENVPN_CONFIG##*.^^}"
|
||||
tmp_Protocol="${OPENVPN_CONFIG##*.}"
|
||||
export NORDVPN_PROTOCOL=${tmp_Protocol^^}
|
||||
echo "Setting NORDVPN_PROTOCOL to: ${NORDVPN_PROTOCOL}"
|
||||
${VPN_PROVIDER_CONFIGS}/updateConfigs.sh --openvpn-config
|
||||
elif [[ ! -z $NORDVPN_COUNTRY ]]
|
||||
then
|
||||
|
Reference in New Issue
Block a user