From eed603665899d182c25eb5d83afc5d61e8b35ce8 Mon Sep 17 00:00:00 2001 From: darnix1 <146903037+darnix1@users.noreply.github.com> Date: Fri, 25 Apr 2025 20:43:22 -0600 Subject: [PATCH] Update gerar.sh --- Gestor/gerar.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Gestor/gerar.sh b/Gestor/gerar.sh index c968468..636ad29 100644 --- a/Gestor/gerar.sh +++ b/Gestor/gerar.sh @@ -75,7 +75,7 @@ rm -rf /etc/ADM-db check_ip () { MIP=$(ip addr | grep 'inet' | grep -v inet6 | grep -vE '127\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}' | grep -o -E '[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}' | head -1) -MIP2=$(wget -qO- ipv4.icanhazip.com) +MIP2=$(wget -qO- https://ipinfo.io/ip) [[ "$MIP" != "$MIP2" ]] && IP="$MIP2" || IP="$MIP" echo "$IP" > /usr/bin/vendor_code }