Update nodemgmt-scripts.sh
This commit is contained in:
@@ -157,7 +157,7 @@ STATUS(){
|
||||
var2=${NTYPE}_SERVICES_CHECK[@]
|
||||
for srvc in "${!var2}"; do
|
||||
NOGOCHK=true;
|
||||
if ${srvc} = "gitea" ]; then
|
||||
if [ ${srvc} = "gitea" ]; then
|
||||
if [[ $($NCMD /sbin/ip -o -4 addr list eth0 | awk '{print $4}' | cut -d/ -f1) != *10.5.10.120* ]]; then
|
||||
NOGOCHK=false;
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user