From ac0c938845d6e9a102c8249c5a79f1c4e12a0243 Mon Sep 17 00:00:00 2001 From: Teddysun Date: Thu, 8 May 2025 14:36:23 +0900 Subject: [PATCH] Update bench.sh --- bench.sh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/bench.sh b/bench.sh index 6c79dde..9038ddd 100644 --- a/bench.sh +++ b/bench.sh @@ -2,7 +2,7 @@ # # Description: A Bench Script by Teddysun # -# Copyright (C) 2015 - 2024 Teddysun +# Copyright (C) 2015 - 2025 Teddysun # Thanks: LookBack # URL: https://teddysun.com/444.html # https://github.com/teddysun/across/blob/master/bench.sh @@ -195,10 +195,10 @@ check_virt() { ipv4_info() { local org city country region - org="$(wget -q -T10 -O- ipinfo.io/org)" - city="$(wget -q -T10 -O- ipinfo.io/city)" - country="$(wget -q -T10 -O- ipinfo.io/country)" - region="$(wget -q -T10 -O- ipinfo.io/region)" + org="$(wget -q -T10 -O- http://ipinfo.io/org)" + city="$(wget -q -T10 -O- http://ipinfo.io/city)" + country="$(wget -q -T10 -O- http://ipinfo.io/country)" + region="$(wget -q -T10 -O- http://ipinfo.io/region)" if [[ -n "${org}" ]]; then echo " Organization : $(_blue "${org}")" fi @@ -252,7 +252,7 @@ install_speedtest() { print_intro() { echo "-------------------- A Bench.sh Script By Teddysun -------------------" - echo " Version : $(_green v2024-11-11)" + echo " Version : $(_green v2025-05-08)" echo " Usage : $(_red "wget -qO- bench.sh | bash")" }