|
|
|
|
@ -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 |
|
|
|
|
|