From 544eb0908c8f4a346a87653efd8685c0c435c7e7 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Sat, 25 Feb 2023 18:28:34 -0600 Subject: [PATCH] Update mm-scripts.sh --- mm-scripts.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mm-scripts.sh b/mm-scripts.sh index 3e8b568..d708098 100755 --- a/mm-scripts.sh +++ b/mm-scripts.sh @@ -275,7 +275,7 @@ PersistentKeepalive = 25" >> /etc/wireguard/wg-torguard.conf fi - if [ "${2}" != "vpn" ]; then + if [ "${2}" != "vpn" ] && [ ! -f ${MMFOLDER}/mm.noservices ]; then echo -en "${idsCL[LightCyan]}${mmsv} Services :${idsCL[Default]}" for srvc in "${SERVICES_CHECK[@]}"; do /bin/systemctl start ${srvc} @@ -283,6 +283,7 @@ PersistentKeepalive = 25" >> /etc/wireguard/wg-torguard.conf echo -e "${idsCL[Green]} done${idsCL[Default]}" else echo -e "${idsCL[LightCyan]}Skipping ${mmsv} Services ${idsCL[Default]}" + touch ${MMFOLDER}/mm.noservices fi echo