Update comments

Update speedtest-cli to version 1.2.0

Signed-off-by: Teddysun <i@teddysun.com>
This commit is contained in:
Teddysun 2023-10-16 10:13:24 +09:00
parent 846c48b4bd
commit 6d3418e094
No known key found for this signature in database
GPG Key ID: 09BD4C080AD6C46D

View File

@ -213,8 +213,8 @@ install_speedtest() {
sys_bit="armel"
fi
[ -z "${sys_bit}" ] && _red "Error: Unsupported system architecture (${sysarch}).\n" && exit 1
url1="https://install.speedtest.net/app/cli/ookla-speedtest-1.1.1-linux-${sys_bit}.tgz"
url2="https://dl.lamp.sh/files/ookla-speedtest-1.1.1-linux-${sys_bit}.tgz"
url1="https://install.speedtest.net/app/cli/ookla-speedtest-1.2.0-linux-${sys_bit}.tgz"
url2="https://dl.lamp.sh/files/ookla-speedtest-1.2.0-linux-${sys_bit}.tgz"
wget --no-check-certificate -q -T10 -O speedtest.tgz ${url1}
if [ $? -ne 0 ]; then
wget --no-check-certificate -q -T10 -O speedtest.tgz ${url2}
@ -228,7 +228,7 @@ install_speedtest() {
print_intro() {
echo "-------------------- A Bench.sh Script By Teddysun -------------------"
echo " Version : $(_green v2023-06-10)"
echo " Version : $(_green v2023-10-15)"
echo " Usage : $(_red "wget -qO- bench.sh | bash")"
}