Update nodemgmt-scripts.sh
This commit is contained in:
@@ -63,7 +63,7 @@ STATUS() {
|
|||||||
spc1=${cw}-${#NM_SERVICES[${srvc}]}
|
spc1=${cw}-${#NM_SERVICES[${srvc}]}
|
||||||
until [ $c = ${spc1} ]; do spc="${spc} "; c=`expr $c + 1`; done
|
until [ $c = ${spc1} ]; do spc="${spc} "; c=`expr $c + 1`; done
|
||||||
echo -en " ${NM_SERVICES[${srvc}]}$spc: "
|
echo -en " ${NM_SERVICES[${srvc}]}$spc: "
|
||||||
f [ "$(systemctl is-active ${srvc})" = "active" ]; then
|
if [ "$(systemctl is-active ${srvc})" = "active" ]; then
|
||||||
echo -e "${idsCL[Green]}Running${idsCL[Default]}"
|
echo -e "${idsCL[Green]}Running${idsCL[Default]}"
|
||||||
rm -f ${FOLDER}/localhost-${srvc}.down
|
rm -f ${FOLDER}/localhost-${srvc}.down
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user