Update nodemgmt-scripts.sh
This commit is contained in:
@@ -503,7 +503,7 @@ UPDATE_DYNDNS(){
|
|||||||
while [ $# -gt 0 ]; do
|
while [ $# -gt 0 ]; do
|
||||||
case "$1" in
|
case "$1" in
|
||||||
-f|-force) FORCE=1;;
|
-f|-force) FORCE=1;;
|
||||||
-t) 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[Yellow]}{location}${idsCL[Default]} {"
|
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]}"
|
echo -e "${idsCL[Green]}'${idsCL[Green]}${LOCATION^^}${idsCL[Green]}' WAN IP has not changed${idsCL[Default]}"
|
||||||
fi
|
fi
|
||||||
else
|
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
|
fi
|
||||||
echo
|
echo
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user