diff --git a/nodemgmt-scripts.sh b/nodemgmt-scripts.sh index cb889eed..515f6fcd 100755 --- a/nodemgmt-scripts.sh +++ b/nodemgmt-scripts.sh @@ -1013,7 +1013,7 @@ UPDATE_DYNDNS(){ [ "${2}" != 'q' ] && echo -e "${idsCL[Green]}${NEWIP}" if ([ "${OLDIP}" != "" ] && [ "${NEWIP}" != "" ] && [[ "${NEWIP}" != *";"* ]] && [ "${OLDIP}" != "${NEWIP}" ]) || [ "${2}" == "force" ]; then - [ "${2}" != 'q' ] && echo; echo -en "${idsCL[Green]}${1^} WAN IP has changed, updating records ... " + [ "${2}" != 'q' ] && echo && echo -en "${idsCL[Green]}${1^} WAN IP has changed, updating records ... " if [ "${1}" == "home" ]; then /usr/bin/curl -s "https://systems:Dcs9613@wdns.scity.us/nic/update?hostname=sc1.scity.us&myip=${NEWIP}" > /dev/null 2>&1 /usr/bin/curl -s "https://systems:Dcs9613@wdns.scity.us/nic/update?hostname=sc2.scity.us&myip=${NEWIP}" > /dev/null 2>&1 @@ -1038,7 +1038,7 @@ UPDATE_DYNDNS(){ elif [ "${NEWIP}" == "" ]; then [ "${2}" != 'q' ] && echo -e "${idsCL[Red]}Could not get NEW IP${idsCL[Default]}" else - [ "${2}" != 'q' ] && echo; echo -e "${idsCL[Green]}${1^^} WAN IP has not changed${idsCL[Default]}" + [ "${2}" != 'q' ] && echo && echo -e "${idsCL[Green]}${1^^} WAN IP has not changed${idsCL[Default]}" fi echo