mirror of
https://github.com/teddysun/across.git
synced 2025-01-19 06:19:35 +08:00
Update comments
Update speedtest-cli to version 1.2.0 Signed-off-by: Teddysun <i@teddysun.com>
This commit is contained in:
parent
846c48b4bd
commit
6d3418e094
6
bench.sh
6
bench.sh
@ -213,8 +213,8 @@ install_speedtest() {
|
|||||||
sys_bit="armel"
|
sys_bit="armel"
|
||||||
fi
|
fi
|
||||||
[ -z "${sys_bit}" ] && _red "Error: Unsupported system architecture (${sysarch}).\n" && exit 1
|
[ -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"
|
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.1.1-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}
|
wget --no-check-certificate -q -T10 -O speedtest.tgz ${url1}
|
||||||
if [ $? -ne 0 ]; then
|
if [ $? -ne 0 ]; then
|
||||||
wget --no-check-certificate -q -T10 -O speedtest.tgz ${url2}
|
wget --no-check-certificate -q -T10 -O speedtest.tgz ${url2}
|
||||||
@ -228,7 +228,7 @@ install_speedtest() {
|
|||||||
|
|
||||||
print_intro() {
|
print_intro() {
|
||||||
echo "-------------------- A Bench.sh Script By Teddysun -------------------"
|
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")"
|
echo " Usage : $(_red "wget -qO- bench.sh | bash")"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user