Update mm-scripts.sh

This commit is contained in:
2022-09-25 13:07:14 -05:00
parent debd07bb96
commit 76eb654bb2

View File

@@ -201,8 +201,10 @@ MMSTOP(){
#for srvc in "${SERVICES_CHECK[@]}"; do #for srvc in "${SERVICES_CHECK[@]}"; do
for i in "${!NM_SERVICES[@]}"; do for i in "${!NM_SERVICES[@]}"; do
srvc=${NM_SERVICES[$i]} srvc=${NM_SERVICES[$i]}
echo "stopping $srvc - ($i)" if [[ ${i} != *"vpn"* ]]; then
/bin/systemctl stop ${srvc} & echo "stopping $srvc - ($i)"
/bin/systemctl stop ${srvc} &
fi
done done
checked=false checked=false
until [ "${checked}" = "" ]; do until [ "${checked}" = "" ]; do