Update mm-scripts.sh
This commit is contained in:
@@ -342,7 +342,6 @@ MMSTATUS(){
|
|||||||
statusArray=(wireguard)
|
statusArray=(wireguard)
|
||||||
statusArray+=(${SERVICES_CHECK[@]})
|
statusArray+=(${SERVICES_CHECK[@]})
|
||||||
echo
|
echo
|
||||||
echo "HERE: ${1}"
|
|
||||||
for srvc in "${statusArray[@]}"; do
|
for srvc in "${statusArray[@]}"; do
|
||||||
c=0; cw=36 spc=''
|
c=0; cw=36 spc=''
|
||||||
spc1=$((${cw}-${#NM_SERVICES[${srvc}]}))
|
spc1=$((${cw}-${#NM_SERVICES[${srvc}]}))
|
||||||
@@ -388,7 +387,7 @@ MMSTATUS(){
|
|||||||
sleep 30s
|
sleep 30s
|
||||||
MMSTART
|
MMSTART
|
||||||
|
|
||||||
echo -e " ${NM_SERVICES[${srvc}]}$spc: ${idsCL[Green]}Running${idsCL[Default]}"
|
echo -e " ${NM_SERVICES[wireguard]} : ${idsCL[Green]}Running${idsCL[Default]}"
|
||||||
zerogw=$(ip route show | grep 0.0.0.0 | cut -d' ' -f 3)
|
zerogw=$(ip route show | grep 0.0.0.0 | cut -d' ' -f 3)
|
||||||
defaultgw=$(ip route show | grep default | cut -d' ' -f 3)
|
defaultgw=$(ip route show | grep default | cut -d' ' -f 3)
|
||||||
echo -e " |- 0.0.0.0 gateway : ${idsCL[Green]}$zerogw${idsCL[Default]}"
|
echo -e " |- 0.0.0.0 gateway : ${idsCL[Green]}$zerogw${idsCL[Default]}"
|
||||||
|
|||||||
Reference in New Issue
Block a user