Update ecs.sh

dependabot/github_actions/actions/checkout-3.1.0
fscarmen 4 years ago committed by GitHub
parent 33cd3270f9
commit 5a48646822
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 8
      ecs.sh

@ -1614,17 +1614,16 @@ print_end_time() {
echo " 时间 : $date_time"
}
{
check_return{
[[ ! -e return.sh ]] && curl -qO https://raw.githubusercontent.com/spiritLHLS/ecs/main/return.sh
chmod +x return.sh >/dev/null 2>&1
green "依次测试电信,联通,移动经过的地区及线路,核心程序来由: ipip.net ,请知悉!" >> $TEMP_FILE
for ((a=0;a<${#test_area[@]};a++)); do
green "依次测试电信,联通,移动经过的地区及线路,核心程序来由: ipip.net ,请知悉!" >> $TEMP_FILE
green "\n${test_area[a]} ${test_ip[a]}" >> $TEMP_FILE
./return.sh ${test_ip[a]} >> $TEMP_FILE
done
}&
}
checkroot
checkwget
@ -1632,6 +1631,7 @@ checksystem
checkpython
checkcurl
checkspeedtest
{ check_return; }&
SystemInfo_GetSystemBit
if [ "${release}" == "centos" ]; then
yum update > /dev/null 2>&1

Loading…
Cancel
Save