Update mm-scripts.sh

This commit is contained in:
2023-04-22 22:33:27 -05:00
parent 31ea928f08
commit ae300d1982

View File

@@ -709,14 +709,16 @@ GETVPNINFO(){
VPNSPEEDTEST(){ VPNSPEEDTEST(){
echo -e "${idsCL[Green]}VPN Speedtest Comparison${idsCL[Default]}" echo -e "${idsCL[Green]}VPN Speedtest Comparison${idsCL[Default]}"
echo echo
echo -en "${idsCL[LightCyan]}This requires all media management services to be stopped, ok (Y/n)? ${idsCL[Default]}" if [ ! -f ${MMFOLDER}/mm.stop ]; then
read -n 1 choice echo -en "${idsCL[LightCyan]}This requires all media management services to be stopped, ok (Y/n)? ${idsCL[Default]}"
case "$choice" in read -n 1 choice
[Nn]) exit 0;; case "$choice" in
esac [Nn]) exit 0;; esac
echo
echo echo -en "${idsCL[LightCyan]}Stopping media management services ... ${idsCL[Default]}"
echo -en "${idsCL[LightCyan]}Stopping media management services ... ${idsCL[Default]}" else
echo -en "${idsCL[LightCyan]}Verifying media management services are stopped ... ${idsCL[Default]}"
fi
MMSTOP >/dev/null 2>&1 MMSTOP >/dev/null 2>&1
echo -e "${idsCL[Green]}Done${idsCL[Default]}" echo -e "${idsCL[Green]}Done${idsCL[Default]}"
echo echo