Update nodemgmt-scripts.sh
This commit is contained in:
@@ -503,8 +503,6 @@ UPDATE_DYNDNS(){
|
|||||||
if [ "${NEWIP}" == "" ]; then
|
if [ "${NEWIP}" == "" ]; then
|
||||||
NEWIP="$(wget -qO- https://ipecho.net/plain ; echo)" >/dev/null 2>&1
|
NEWIP="$(wget -qO- https://ipecho.net/plain ; echo)" >/dev/null 2>&1
|
||||||
[ "${NEWIP}" == "" ] && NEWIP="WAN IP could not be found"
|
[ "${NEWIP}" == "" ] && NEWIP="WAN IP could not be found"
|
||||||
else
|
|
||||||
NEWIP="WAN IP could not be found"
|
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
echo -e "${idsCL[LightGreen]}${NEWIP}"
|
echo -e "${idsCL[LightGreen]}${NEWIP}"
|
||||||
|
|||||||
Reference in New Issue
Block a user