Update status.inc
This commit is contained in:
@@ -69,7 +69,7 @@ STATUS(){
|
|||||||
else
|
else
|
||||||
spc=' '
|
spc=' '
|
||||||
fi
|
fi
|
||||||
echo -en " ${NM_SERVICE_DESC[${srvc}]}(${srvc})${spc}: "
|
echo -en " ${NM_SERVICE_DESC[${srvc}]}${spc}: "
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$(systemctl is-active ${srvc})" != "active" ]; then
|
if [ "$(systemctl is-active ${srvc})" != "active" ]; then
|
||||||
@@ -186,7 +186,7 @@ STATUS(){
|
|||||||
else
|
else
|
||||||
spc=' '
|
spc=' '
|
||||||
fi
|
fi
|
||||||
echo -en " ${NM_SERVICE_DESC[${srvc}]}$spc: "
|
echo -en " ${NM_SERVICE_DESC[${srvc}]}(${srvc})${spc}: "
|
||||||
fi
|
fi
|
||||||
if [ "${srvctst[$sr]}" != "active" ] && [ "${srvc}" == "mysql" ]; then
|
if [ "${srvctst[$sr]}" != "active" ] && [ "${srvc}" == "mysql" ]; then
|
||||||
[ "$(${NCMD} systemctl is-active mariadb)" == "active" ] && mysqlgo=true || mysqlgo=false
|
[ "$(${NCMD} systemctl is-active mariadb)" == "active" ] && mysqlgo=true || mysqlgo=false
|
||||||
|
|||||||
Reference in New Issue
Block a user