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