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 i in "${!NM_SERVICES[@]}"; do
srvc=${NM_SERVICES[$i]}
echo "stopping $srvc - ($i)"
/bin/systemctl stop ${srvc} &
if [[ ${i} != *"vpn"* ]]; then
echo "stopping $srvc - ($i)"
/bin/systemctl stop ${srvc} &
fi
done
checked=false
until [ "${checked}" = "" ]; do