Update nodemgmt-scripts.sh
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user