Update nodemgmt-scripts.sh

This commit is contained in:
2023-11-14 15:42:53 -06:00
parent 5cb62a4183
commit f68caae819

View File

@@ -503,7 +503,7 @@ UPDATE_DYNDNS(){
while [ $# -gt 0 ]; do
case "$1" in
-f|-force) FORCE=1;;
-t) TESTMODE=1;;
-t|-test) TESTMODE=1;;
-h | -help | --help)
echo
echo -e "Usage: ${idsCL[LightYellow]}[nodemgmt or nmg] update-dyndns ${idsCL[Yellow]}{location}${idsCL[Default]} {"
@@ -582,7 +582,7 @@ UPDATE_DYNDNS(){
echo -e "${idsCL[Green]}'${idsCL[Green]}${LOCATION^^}${idsCL[Green]}' WAN IP has not changed${idsCL[Default]}"
fi
else
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"
fi
echo
}