Update mm-scripts.sh
This commit is contained in:
@@ -463,10 +463,12 @@ MMSTOP(){
|
|||||||
until [ $c = ${spc1} ]; do spc="${spc} "; c=`expr $c + 1`; done
|
until [ $c = ${spc1} ]; do spc="${spc} "; c=`expr $c + 1`; done
|
||||||
echo -en "${idsCL[LightCyan]}${msg}${spc} ${idsCL[White]}: ${idsCL[Default]}"
|
echo -en "${idsCL[LightCyan]}${msg}${spc} ${idsCL[White]}: ${idsCL[Default]}"
|
||||||
for srvc in "${!MM_SERVICES[@]}"; do
|
for srvc in "${!MM_SERVICES[@]}"; do
|
||||||
if [[ ${srvc} != *"vpn"* ]] && [[ ${srvc} != *"wireguard"* ]]; then
|
if [[ ${srvc} != *"qbittorrent"* ]] && [[ ${srvc} != *"vpn"* ]] && [[ ${srvc} != *"wireguard"* ]]; then
|
||||||
/bin/systemctl stop ${srvc} >/dev/null 2>&1 &
|
/bin/systemctl stop ${srvc} >/dev/null 2>&1 &
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
sleep 2s
|
||||||
|
/bin/systemctl stop qbittorrent
|
||||||
echo -e "${idsCL[Green]}Done${idsCL[Default]}"
|
echo -e "${idsCL[Green]}Done${idsCL[Default]}"
|
||||||
|
|
||||||
msg="Waiting for Services to stop"
|
msg="Waiting for Services to stop"
|
||||||
|
|||||||
Reference in New Issue
Block a user