Update mm-scripts.sh

This commit is contained in:
2022-09-25 13:04:01 -05:00
parent 5d1fcb1d8b
commit d927089c57

View File

@@ -198,7 +198,10 @@ MMSTOP(){
echo
touch /opt/mm.stop
echo -en "${idsCL[LightCyan]}Stopping Services... ${idsCL[Default]}"
for srvc in "${SERVICES_CHECK[@]}"; do
//for srvc in "${SERVICES_CHECK[@]}"; do
for i in "${!NM_SERVICES[@]}"; do
srvc=${NM_SERVICES[$i]}
echo "stopping $srvc - ($i)"
/bin/systemctl stop ${srvc} &
done
checked=false