From 2bd5354f7544be1490e3ada9e49e6374e7b80ec7 Mon Sep 17 00:00:00 2001 From: AuxXxilium Date: Sat, 17 Aug 2024 18:40:04 +0200 Subject: [PATCH] block: remove es from geoblocking Signed-off-by: AuxXxilium --- files/initrd/opt/arc/include/functions.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/initrd/opt/arc/include/functions.sh b/files/initrd/opt/arc/include/functions.sh index 7f4512b4..f067ad87 100755 --- a/files/initrd/opt/arc/include/functions.sh +++ b/files/initrd/opt/arc/include/functions.sh @@ -609,7 +609,7 @@ function offlineCheck() { writeConfigKey "arc.nic" "${ARCNIC}" "${USER_CONFIG_FILE}" writeConfigKey "arc.offline" "${OFFLINE}" "${USER_CONFIG_FILE}" local BLOCK="$(curl -m 10 -v "http://ip-api.com/line?fields=countryCode" 2>/dev/null | tr '[:upper:]' '[:lower:]')" - if [ "${BLOCK}" == "ua" ] || [ "${BLOCK}" == "es" ] || [ "${BLOCK}" == "tw" ]; then + if [ "${BLOCK}" == "ua" ] || [ "${BLOCK}" == "tw" ]; then dialog --backtitle "$(backtitle)" --title "Blocked Country" \ --infobox "You are located in a blocked Country and not authorized to use this Loader!" 5 80 rm -rf "${CONFIG_PATH}"