Update mm-scripts.sh
This commit is contained in:
@@ -461,7 +461,8 @@ MMSTATUS(){
|
|||||||
c=0; spc=''
|
c=0; spc=''
|
||||||
spc1=$((${cw_spc}-${#MM_SERVICES[${srvc}]}))
|
spc1=$((${cw_spc}-${#MM_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 " ${idsCL[White]}${MM_SERVICES[${srvc}]}$spc: ${idsCL[Default]}"
|
dispname="${MM_SERVICES[${srvc}]/(/${idsCL[LightCyan]}(}"
|
||||||
|
echo -en " ${idsCL[White]}${dispname}$spc: ${idsCL[Default]}"
|
||||||
|
|
||||||
if [ "$(systemctl is-active ${srvc})" != "active" ] && [ "${srvc}" != "wireguard" ]; then
|
if [ "$(systemctl is-active ${srvc})" != "active" ] && [ "${srvc}" != "wireguard" ]; then
|
||||||
if [ -f ${MMFOLDER}/mm.noservices ]; then
|
if [ -f ${MMFOLDER}/mm.noservices ]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user