From 95c4ad2b31db271c07ea71636842eeae9088076f Mon Sep 17 00:00:00 2001 From: Matteo Pietro Dazzi Date: Fri, 23 Jun 2023 09:28:59 +0200 Subject: [PATCH] fix: prefix --- startup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/startup.sh b/startup.sh index 12d8af4..4500673 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 "rza_${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