From 4ec0d7052156c3b1288c733bfcd905658f635f76 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Mon, 26 May 2025 22:28:18 -0500 Subject: [PATCH] Update nodemgmt-scripts.sh --- nodemgmt-scripts.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nodemgmt-scripts.sh b/nodemgmt-scripts.sh index bc7874da..08b91af9 100755 --- a/nodemgmt-scripts.sh +++ b/nodemgmt-scripts.sh @@ -499,7 +499,7 @@ UPDATE_DYNDNS(){ echo -en "${idsCL[White]}Current WAN IP : "; NEWIP="$(dig +short myip.opendns.com @resolver1.opendns.com)" >/dev/null 2>&1 if [ "${NEWIP}" == "" ]; then - NEWIP="$(curl https://ipinfo.io/ip)" >/dev/null 2>&1 + NEWIP="$(wget -qO- https://ipinfo.io/ip ; echo)" >/dev/null 2>&1 if [ "${NEWIP}" == "" ]; then NEWIP="$(wget -qO- https://ipecho.net/plain ; echo)" >/dev/null 2>&1 else