Update nodemgmt-scripts.sh

This commit is contained in:
2021-06-27 19:45:57 -05:00
parent 54c7091ce5
commit da258d31b8

View File

@@ -1429,7 +1429,7 @@ SERVICE(){
fi fi
GO=true; GO=true;
if [ "${2}" = "gitea" ]; then 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.5.10.120* ]]; then
GO=false; GO=false;
fi fi