21 lines
471 B
Bash
Executable File
21 lines
471 B
Bash
Executable File
#!/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)
|
||
array = preg_split("/\r\n|\n|\r/", $test);
|
||
|
||
printf "'%s’\n" "${array[@]}"
|
||
|
||
exit 0 |