Explorar o código

修复安装锐速无法连接的bug

更换锐速自动优化配置的测速节点为杭州阿里云
Chikage %!s(int64=8) %!d(string=hai) anos
pai
achega
246706c53b
Modificáronse 1 ficheiros con 3 adicións e 3 borrados
  1. 3 3
      tcp.sh

+ 3 - 3
tcp.sh

@@ -5,12 +5,12 @@ export PATH
 #=================================================
 #	System Required: CentOS 6+,Debian7+,Ubuntu12+
 #	Description: BBR+BBR魔改版+Lotserver
-#	Version: 1.0.4
+#	Version: 1.0.5
 #	Author: 千影
 #	Blog: https://www.94ish.me/
 #=================================================
 
-sh_ver="1.0.4"
+sh_ver="1.0.5"
 github="raw.githubusercontent.com/chiakge/Linux-NetSpeed/master"
 
 Green_font_prefix="\033[32m" && Red_font_prefix="\033[31m" && Green_background_prefix="\033[42;37m" && Red_background_prefix="\033[41;37m" && Font_color_suffix="\033[0m"
@@ -144,7 +144,7 @@ startlotserver(){
 	memory1=`expr ${memory} / 1024`
 	memory2=`expr ${memory1} \* 8`
 	cpucore=`cat /proc/cpuinfo | grep “processor” | wc -l`
-	ping1=`ping  139.196.7.248  -s 1000 -c 10 | awk -F"[= ]*"   '/from/{sum+=$(NF-1);}END{print sum/10;}' | awk -F "." '{print $1}'`
+	ping1=`ping 140.205.230.3  -s 1000 -c 10 | awk -F"[= ]*"   '/from/{sum+=$(NF-1);}END{print sum/10;}' | awk -F "." '{print $1}'`
 	sed -i '/initialCwndWan/d' /appex/etc/config
 	sed -i '/l2wQLimit/d' /appex/etc/config
 	sed -i '/w2lQLimit/d' /appex/etc/config