From 43b2fe9bf53ec08d23226a4d98cdbd94b83eff22 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Sun, 21 May 2023 22:24:18 -0500 Subject: [PATCH] Update run-all-speedtests.sh --- run-all-speedtests.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/run-all-speedtests.sh b/run-all-speedtests.sh index 20ed945..8ba58dd 100755 --- a/run-all-speedtests.sh +++ b/run-all-speedtests.sh @@ -14,11 +14,12 @@ echo -e "${idsCL[LightGreen]}Run All Local Speedtests${idsCL[Default]}" echo echo -en "${idsCL[LightCyan]}Do you wish to continue (y/N)?${idsCL[Default]}" read -n 1 continue +echo +echo case $continue in [Yy]) local_servers=$(speedtest -L) local_servers=(${local_servers//$'\n'/ }) - echo for serverID in ${local_servers[@]}; do sid='^[[:digit:]]{4,6}$' [[ ${serverID} =~ ${sid} ]] && echo -e "${idsCL[Green]}Running on '${serverID}'${idsCL[Default]}" && echo 'YES' # && speedtest -s ${serverID}