Update nodemgmt-scripts.sh
This commit is contained in:
@@ -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}]}
|
||||
|
||||
Reference in New Issue
Block a user