Update nodemgmt-scripts.sh
This commit is contained in:
@@ -1006,7 +1006,7 @@ UPDATE_DYNDNS(){
|
|||||||
OLDIP=`dig +short offsite.scity.us @ns1.scity.us`
|
OLDIP=`dig +short offsite.scity.us @ns1.scity.us`
|
||||||
fi
|
fi
|
||||||
if [ "${2}" != 'q' ]; then
|
if [ "${2}" != 'q' ]; then
|
||||||
echo -e "${idsCL[LightCyan]}${OLDIP}"
|
echo -e "${idsCL[Cyan]}${OLDIP}"
|
||||||
echo -en "${idsCL[LightCyan]}New IP ${idsCL[White]}: "
|
echo -en "${idsCL[LightCyan]}New IP ${idsCL[White]}: "
|
||||||
fi
|
fi
|
||||||
NEWIP=`dig +short myip.opendns.com @resolver1.opendns.com`
|
NEWIP=`dig +short myip.opendns.com @resolver1.opendns.com`
|
||||||
|
|||||||
Reference in New Issue
Block a user