From a8834e0c1c83233471a4c050f2545d79b931f379 Mon Sep 17 00:00:00 2001 From: AuxXxilium Date: Sun, 18 Aug 2024 12:06:42 +0200 Subject: [PATCH] functions: fix 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 f067ad87..131bbc4f 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}" == "tw" ]; then + if [ "${BLOCK}" == "ua" ]; 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}"