Update status.inc
This commit is contained in:
@@ -562,8 +562,10 @@ STATUS_NODE(){
|
||||
|
||||
srvcs=${NODETYPE}_SERVICES_CHECK[@];
|
||||
srvcstotest="$(join_by " " ${!srvcs})"
|
||||
[ "${NODETYPE}" != "OFW" ] && srvctst=(`${NCMD} "systemctl is-active ${srvcstotest}"`)
|
||||
echo "HERE: systemctl is-active ${srvcstotest} = ${srvctst}"
|
||||
if [ "${NODETYPE}" != "OFW" ]; then
|
||||
[ "${NCMD}" != "" ] && srvctst=(`${NCMD} "systemctl is-active ${srvcstotest}"`) || srvctst=(`systemctl is-active ${srvcstotest}`)
|
||||
fi
|
||||
echo "HERE: (${NCMD} "systemctl is-active ${srvcstotest}") = ${srvctst}"
|
||||
sr=0
|
||||
for srvc in "${!srvcs}"; do
|
||||
if [ "${STATUS_ACTION}" != "report" ]; then
|
||||
|
||||
Reference in New Issue
Block a user