Update nodemgmt-scripts.sh

This commit is contained in:
2022-02-06 19:07:52 -06:00
parent 8d74f6fd46
commit 5db8c51ad8

View File

@@ -157,7 +157,7 @@ STATUS(){
var2=${NTYPE}_SERVICES_CHECK[@]
for srvc in "${!var2}"; do
NOGOCHK=true;
if [ ${srvc} = "gitea" ]; then
if [ ${srvc} = "gitea" ] || [ ${srvc} = "powerdns-admin" ]; then
if [[ $($NCMD /sbin/ip -o -4 addr list eth0 | awk '{print $4}' | cut -d/ -f1) != *10.10.1.120* ]]; then
NOGOCHK=false;
fi