Update mm-scripts.sh
This commit is contained in:
@@ -77,10 +77,13 @@ MMSTOP(){
|
||||
|
||||
MMSTATUS(){
|
||||
for srvc in "${SERVICES_CHECK[@]}"; do
|
||||
echo $srvc
|
||||
c=0; cw=22; spc=''
|
||||
spc1=${cw}-${#NM_SERVICES[${srvc}]}
|
||||
echo $srvc
|
||||
|
||||
until [ $c = ${spc1} ]; do spc="${spc} "; c=`expr $c + 1`; done
|
||||
echo $srvc
|
||||
|
||||
echo -en " ${NM_SERVICES[${srvc}]}$spc: "
|
||||
|
||||
if [ "$(systemctl is-active ${srvc})" != "active" ]; then
|
||||
|
||||
Reference in New Issue
Block a user