diff --git a/nodemgmt-scripts.sh b/nodemgmt-scripts.sh index ba8c91e6..ca7393bc 100755 --- a/nodemgmt-scripts.sh +++ b/nodemgmt-scripts.sh @@ -1751,7 +1751,11 @@ UPDATE_DYNDNS(){ /usr/bin/curl -s "https://systems:Dcs9613@pdns.scity.us/nic/update?hostname=snsinvest.com&myip=${NEWIP}" > /dev/null 2>&1 /usr/bin/curl -s "https://systems:Dcs9613@pdns.scity.us/nic/update?hostname=misfitsmc.com&myip=${NEWIP}" > /dev/null 2>&1 - echo "DYNDNS Updated" | mail -s "`hostname` (`hostname -I`) sent update" 9208839613@mms.att.net + echo "DYNDNS Updated" | mail -s "Updated WAN IP from '${OLDIP}' to '${NEWIP}'" 9208839613@mms.att.net + + if [ "${1}" != 'q' ]; then + echo -en "${idsCL[Green]}Updated WAN IP from '${OLDIP}' to '${NEWIP}'${idsCL[Default]}" + fi fi if [ "${1}" != 'q' ]; then