Update nodemgmt-scripts.sh

This commit is contained in:
2021-01-16 11:15:55 -06:00
parent 31d7b1613a
commit 0556eb948d

View File

@@ -156,7 +156,11 @@ STATUS(){
fi
var2=${NTYPE}_SERVICES_CHECK[@]
for srvc in "${!var2}"; do
if [ "${NIP}" != "10.5.10.122" ] && [ ${srvc} != "gitea" ]; then
NOGOCHK=true
if [ "${NIP}" == "10.5.10.122" ] && [ ${srvc} == "gitea" ]; then
NOGOCHK=false
fi
if [ ${NOGOCHK} == true ]; then
if [ "${ST_ACTION}" != "check" ]; then
c=0; cw=22; spc=''
spc1=${cw}-${#NM_SERVICES[${srvc}]}