From 82c08faa7d9981c9c0b7ff686119ae7e06a5d354 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Sun, 21 May 2023 21:52:39 -0500 Subject: [PATCH] Create run-all-speedtests.sh --- run-all-speedtests.sh | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100755 run-all-speedtests.sh diff --git a/run-all-speedtests.sh b/run-all-speedtests.sh new file mode 100755 index 0000000..e4dc747 --- /dev/null +++ b/run-all-speedtests.sh @@ -0,0 +1,20 @@ +#!/usr/bin/env bash + +if [ -d /opt/idssys/defaults ]; then + source /opt/idssys/defaults/colors.inc + source /opt/idssys/defaults/default.inc +else + source /dev/stdin <<< "$(curl -sL http://go.scity.us/colorsinc)" + source /dev/stdin <<< "$(curl -sL http://go.scity.us/defaultinc)" +fi + + +echo +echo -e "${idsCL[LightGreen]}Run All Local Speedtests${idsCL[Default]}" +echo + +test=($(speedtest -L)) + +printf “’%s’\n” “${test[@]}” + +exit 0 \ No newline at end of file