Update nodemgmt-scripts.sh

This commit is contained in:
2023-11-14 19:58:10 -06:00
parent ec8e1c7df5
commit e5e0b03029

View File

@@ -356,7 +356,7 @@ NODEUPDATE() {
c=0; spca=''; spc1=${cw}-${#NODE}; until [ $c = ${spc1} ]; do spca="${spca} "; c=`expr $c + 1`; done
echo -en "Updating ${NODE}${spca}"
if [ "${nip}" != "100.100.2.1" ] || [ "${nip}" != "10.2.1.1" ]; then
if [ "${nip}" != "100.100.2.1" ] && [ "${nip}" != "10.2.1.1" ]; then
if [ "${2}" != "sync" ]; then
echo -en " ~ ${idsCL[LightCyan]}NodeMGMT${idsCL[Default]} : "
if ! ${NCMD} command -v nodemgmt > /dev/null; then