Update nodemgmt-scripts.sh
This commit is contained in:
@@ -525,7 +525,7 @@ UPDATE_DYNDNS(){
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
cw_spc=10
|
cw_spc=10
|
||||||
echo -e "${idsCL[Yellow]}Checking for DYNDNS update at '${idsCL[LightCyan]}${LOCATION^^}${idsCL[Green]}'${idsCL[Default]}"
|
echo -e "${idsCL[LightYellow]}Checking for DYNDNS update at '${idsCL[LightCyan]}${LOCATION^^}${idsCL[LightYellow]}'${idsCL[Default]}"
|
||||||
echo
|
echo
|
||||||
echo -en "${idsCL[White]}Previous WAN IP : "
|
echo -en "${idsCL[White]}Previous WAN IP : "
|
||||||
|
|
||||||
@@ -587,7 +587,7 @@ UPDATE_DYNDNS(){
|
|||||||
elif [ "${NEWIP}" == "" ]; then
|
elif [ "${NEWIP}" == "" ]; then
|
||||||
echo -e "${idsCL[LightRed]}Could not get Current WAN IP${idsCL[Default]}"
|
echo -e "${idsCL[LightRed]}Could not get Current WAN IP${idsCL[Default]}"
|
||||||
else
|
else
|
||||||
echo -e "${idsCL[Yellow]}'${idsCL[LightCyan]}${LOCATION^^}${idsCL[Green]}' WAN IP has not changed${idsCL[Default]}"
|
echo -e "${idsCL[Yellow]}'${idsCL[LightCyan]}${LOCATION^^}${idsCL[Yellow]}' WAN IP has not changed${idsCL[Default]}"
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
[ "${LOCATION}" == "" ] && echo -e "\n${idsCL[Red]}No DYNDNS location specified" || echo -e "\n${idsCL[Red]}DYNDNS location '${LOCATION}' not recognized"
|
[ "${LOCATION}" == "" ] && echo -e "\n${idsCL[Red]}No DYNDNS location specified" || echo -e "\n${idsCL[Red]}DYNDNS location '${LOCATION}' not recognized"
|
||||||
|
|||||||
Reference in New Issue
Block a user