Update nodemgmt-scripts.sh

This commit is contained in:
2022-02-06 14:09:45 -06:00
parent 53aedd8872
commit f1dc018107

View File

@@ -1445,7 +1445,7 @@ SERVICE(){
NOGOCHK=true;
if [ "${1}" == "gitea" ]; then
if [[ $($NCMD /sbin/ip -o -4 addr list eth0 | awk '{print $4}' | cut -d/ -f1) != *10.5.10.120* ]]; then
if [[ $($NCMD /sbin/ip -o -4 addr list eth0 | awk '{print $4}' | cut -d/ -f1) != *10.10.1.120* ]]; then
NOGOCHK=false;
fi
fi