Update nodemgmt-scripts.sh

This commit is contained in:
2023-11-14 16:02:35 -06:00
parent 45802c60f0
commit 3f09c570ed

View File

@@ -506,7 +506,7 @@ UPDATE_DYNDNS(){
-t|-test) TESTMODE=1;; -t|-test) TESTMODE=1;;
-h | -help | --help) -h | -help | --help)
echo echo
echo -e "Usage: ${idsCL[LightYellow]}[nodemgmt or nmg] update-dyndns '${idsCL[LightCyan]}${LOCATION^^}${idsCL[Green]}'${idsCL[Default]} {" echo -e "Usage: ${idsCL[LightYellow]}[nodemgmt or nmg] update-dyndns ${idsCL[Yellow]}{location}${idsCL[Default]} {"
width=35 width=35
printf "%-${width}s- %s\n" " {location}" "(site location name to update for)" printf "%-${width}s- %s\n" " {location}" "(site location name to update for)"
printf "%-${width}s- %s\n" " -f|-force" "(will force a record update without IP changing)" printf "%-${width}s- %s\n" " -f|-force" "(will force a record update without IP changing)"
@@ -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 ${LOCATION^} ... ${idsCL[Default]}" echo -e "${idsCL[Yellow]}Checking for DYNDNS update at '${idsCL[LightCyan]}${LOCATION^^}${idsCL[Green]}' ... ${idsCL[Default]}"
echo echo
echo -en "${idsCL[LightCyan]}Previous WAN IP ${idsCL[White]}: " echo -en "${idsCL[LightCyan]}Previous WAN IP ${idsCL[White]}: "