diff --git a/startup.sh b/startup.sh index 4500673..ef834d7 100644 --- a/startup.sh +++ b/startup.sh @@ -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 *"${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 @@ -46,4 +46,4 @@ if [ "${ENABLE_KILL_SWITCH}" = "true" ]; then ufw default deny outgoing ufw allow out on tun0 from any to any ufw enable -fi \ No newline at end of file +fi