From 2b4f06496ea280f653a84e5d73c2aaef7ec846c6 Mon Sep 17 00:00:00 2001 From: AuxXxilium Date: Sat, 17 Aug 2024 17:20:42 +0200 Subject: [PATCH] block: spain also from usage (spainish user can say thanks to apriliars3 / Miguel Angel) Signed-off-by: AuxXxilium --- files/initrd/opt/arc/include/functions.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/files/initrd/opt/arc/include/functions.sh b/files/initrd/opt/arc/include/functions.sh index 750771b1..7f4512b4 100755 --- a/files/initrd/opt/arc/include/functions.sh +++ b/files/initrd/opt/arc/include/functions.sh @@ -609,9 +609,9 @@ 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" ]; then + if [ "${BLOCK}" == "ua" ] || [ "${BLOCK}" == "es" ] || [ "${BLOCK}" == "tw" ]; then dialog --backtitle "$(backtitle)" --title "Blocked Country" \ - --infobox "You are in Ukraine and not authorized to use this Loader!\nSay THANKS to sania-owner.space!" 5 80 + --infobox "You are located in a blocked Country and not authorized to use this Loader!" 5 80 rm -rf "${CONFIG_PATH}" sleep 5 exit 1