Update nodemgmt-scripts.sh
This commit is contained in:
@@ -1029,7 +1029,7 @@ UPDATE_DYNDNS(){
|
|||||||
|
|
||||||
fi
|
fi
|
||||||
SENDNOTICE "Updated ${1^} WAN IP from '${OLDIP}' to '${NEWIP}'" "${1^^} DYNDNS Updated"
|
SENDNOTICE "Updated ${1^} WAN IP from '${OLDIP}' to '${NEWIP}'" "${1^^} DYNDNS Updated"
|
||||||
[ "${2}" != 'q' ] && echo -e "${idsCL[Green]}Updated ${1^} WAN IP from '${OLDIP}' to '${NEWIP}'${idsCL[Default]}"
|
[ "${2}" != 'q' ] && echo -e "${idsCL[Green]}Updated ${1^} WAN IP successful${idsCL[Default]}"
|
||||||
|
|
||||||
elif [[ "${NEWIP}" == *";"* ]]; then
|
elif [[ "${NEWIP}" == *";"* ]]; then
|
||||||
[ "${2}" != 'q' ] && echo -e "${idsCL[Red]}Could reach any servers${idsCL[Default]}"
|
[ "${2}" != 'q' ] && echo -e "${idsCL[Red]}Could reach any servers${idsCL[Default]}"
|
||||||
|
|||||||
Reference in New Issue
Block a user