Update mm-scripts.sh
This commit is contained in:
@@ -94,7 +94,9 @@ MMSTOP(){
|
||||
}
|
||||
|
||||
MMSTATUS(){
|
||||
for srvc in "${SERVICES_CHECK[@]}"; do
|
||||
statusArray=("openvpn")
|
||||
statusArray+=$SERVICES_CHECK
|
||||
for srvc in "${statusArray[@]}"; do
|
||||
c=0; cw=36 spc=''
|
||||
spc1=$((${cw}-${#NM_SERVICES[${srvc}]}))
|
||||
until [ $c = ${spc1} ]; do spc="${spc} "; c=`expr $c + 1`; done
|
||||
|
||||
Reference in New Issue
Block a user