Update mm-scripts.sh
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user