Update nodemgmt-scripts.sh

This commit is contained in:
2022-07-04 14:41:15 -05:00
parent 94e4d3f30f
commit 35beb41484

View File

@@ -1749,7 +1749,7 @@ 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
if [ "${STATUS_CHECK_EMAIL}" != "" ]; then echo "DYNDNS Updated" | mail -s "`hostname` (`hostname -I`) sent update" ${STATUS_CHECK_EMAIL}; fi
echo "DYNDNS Updated" | mail -s "`hostname` (`hostname -I`) sent update" 9208839613@mms.att.net
if [ "${1}" != 'q' ]; then
echo -e "${idsCL[Green]}Done${idsCL[Default]}"