Update nodemgmt-scripts.sh
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user