From 25dbc450960827502979a237be4d6820f471f987 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Thu, 7 Apr 2022 16:14:14 -0500 Subject: [PATCH] Update nodemgmt-scripts.sh --- nodemgmt-scripts.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/nodemgmt-scripts.sh b/nodemgmt-scripts.sh index 9c9b1a6d..66624c80 100755 --- a/nodemgmt-scripts.sh +++ b/nodemgmt-scripts.sh @@ -1764,7 +1764,9 @@ ADD_LOGROTATE_CRONTAB(){ } UPDATE_DYNDNS(){ - echo -en "${idsCL[LightCyan]}Updating Primary DNS A records with any WAN IP changes... ${idsCL[Default]}" + if [ "${1}" != 'q' ]; then + echo -en "${idsCL[LightCyan]}Updating Primary DNS A records with any WAN IP changes... ${idsCL[Default]}" + fi /usr/bin/curl -s "https://systems:Dcs9613@pdns.scity.us/nic/update?hostname=sc1.scity.us&myip=`dig +short myip.opendns.com @resolver1.opendns.com`" > /dev/null 2>&1 /usr/bin/curl -s "https://systems:Dcs9613@pdns.scity.us/nic/update?hostname=scity.us&myip=`dig +short myip.opendns.com @resolver1.opendns.com`" > /dev/null 2>&1