fix: new prefix

This commit is contained in:
Matteo Pietro Dazzi
2023-06-23 09:23:12 +02:00
committed by GitHub
parent 606579eb63
commit 05b1c84d05

View File

@@ -6,7 +6,7 @@ if [ -z "${OVPN_CONFIGS}" ]; then
fi
unzip "${OVPN_CONFIGS}" -d ovpn_configs
cd ovpn_configs
VPN_FILE=$(ls "${SURFSHARK_COUNTRY}"* | grep "${SURFSHARK_CITY}" | grep "${CONNECTION_TYPE}" | shuf | head -n 1)
VPN_FILE=$(ls "rza_${SURFSHARK_COUNTRY}"* | grep "${SURFSHARK_CITY}" | grep "${CONNECTION_TYPE}" | shuf | head -n 1)
echo Chose: ${VPN_FILE}
printf "${SURFSHARK_USER}\n${SURFSHARK_PASSWORD}" > vpn-auth.txt