Create run-all-speedtests.sh
This commit is contained in:
20
run-all-speedtests.sh
Executable file
20
run-all-speedtests.sh
Executable file
@@ -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
|
||||
Reference in New Issue
Block a user