diff --git a/mm-scripts.sh b/mm-scripts.sh index e375c71..3ad87f5 100755 --- a/mm-scripts.sh +++ b/mm-scripts.sh @@ -709,14 +709,16 @@ GETVPNINFO(){ VPNSPEEDTEST(){ echo -e "${idsCL[Green]}VPN Speedtest Comparison${idsCL[Default]}" echo - echo -en "${idsCL[LightCyan]}This requires all media management services to be stopped, ok (Y/n)? ${idsCL[Default]}" - read -n 1 choice - case "$choice" in - [Nn]) exit 0;; - esac - - echo - echo -en "${idsCL[LightCyan]}Stopping media management services ... ${idsCL[Default]}" + if [ ! -f ${MMFOLDER}/mm.stop ]; then + echo -en "${idsCL[LightCyan]}This requires all media management services to be stopped, ok (Y/n)? ${idsCL[Default]}" + read -n 1 choice + case "$choice" in + [Nn]) exit 0;; esac + echo + 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 echo -e "${idsCL[Green]}Done${idsCL[Default]}" echo