Update nodemgmt-scripts.sh
This commit is contained in:
@@ -196,6 +196,7 @@ STATUS(){
|
|||||||
fi
|
fi
|
||||||
echo "mysqlgo=${mysqlgo}"
|
echo "mysqlgo=${mysqlgo}"
|
||||||
if [ "{srvctst}" != "active" ] && [ "${mysqlgo}" != "true" ]; then
|
if [ "{srvctst}" != "active" ] && [ "${mysqlgo}" != "true" ]; then
|
||||||
|
echo "1"
|
||||||
if [ ! -f ${FOLDER}/${nip}-${srvc}.down ]; then
|
if [ ! -f ${FOLDER}/${nip}-${srvc}.down ]; then
|
||||||
|
|
||||||
if [ "${ST_ACTION}" != "check" ]; then
|
if [ "${ST_ACTION}" != "check" ]; then
|
||||||
@@ -222,6 +223,7 @@ STATUS(){
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
|
echo "2"
|
||||||
if [ "${ST_ACTION}" != "check" ]; then
|
if [ "${ST_ACTION}" != "check" ]; then
|
||||||
echo -e "${idsCL[Green]}Running${idsCL[Default]}"
|
echo -e "${idsCL[Green]}Running${idsCL[Default]}"
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user