Update mm-scripts.sh

This commit is contained in:
2023-02-20 20:02:53 -06:00
parent 5f1753e2cf
commit 46eaf1a99b

View File

@@ -222,11 +222,11 @@ MMSTART(){
echo -en "${idsCL[LightCyan]}${mmsv} Services... ${idsCL[Default]}"
for srvc in "${SERVICES_CHECK[@]}"; do
/bin/systemctl start ${srvc}
done
echo -e "${idsCL[Green]} done${idsCL[Default]}"
# echo -en "${idsCL[LightCyan]}${mmsv} Services... ${idsCL[Default]}"
# for srvc in "${SERVICES_CHECK[@]}"; do
# /bin/systemctl start ${srvc}
# done
# echo -e "${idsCL[Green]} done${idsCL[Default]}"
echo
if [ "${1}" == "start" ]; then
#echo -e "${idsCL[LightCyan]}It may take a couple of minutes before all services fully start${idsCL[Default]}"
@@ -264,7 +264,7 @@ MMSTOP(){
#for srvc in "${SERVICES_CHECK[@]}"; do
for i in "${!NM_SERVICES[@]}"; do
srvc=${NM_SERVICES[$i]}
if [[ ${i} != *"vpn"* ]]; then
if [[ ${i} != *"vpn"* ]] && [[ ${i} != *"wireguard"* ]]; then
/bin/systemctl stop ${i} &
fi
done