Explorar o código

优化lotserver加速参数

Chikage %!s(int64=6) %!d(string=hai) anos
pai
achega
fd1c3b0408
Modificáronse 1 ficheiros con 6 adicións e 1 borrados
  1. 6 1
      tcp.sh

+ 6 - 1
tcp.sh

@@ -209,7 +209,12 @@ startlotserver(){
 		apt-get update
 		apt-get install ethtool
 	fi
-	bash <(wget --no-check-certificate -qO- https://github.com/MoeClub/lotServer/raw/master/Install.sh) install
+	bash <(wget --no-check-certificate -qO- https://raw.githubusercontent.com/chiakge/lotServer/master/Install.sh) install
+	sed -i '/advinacc/d' /appex/etc/config
+	sed -i '/maxmode/d' /appex/etc/config
+	echo -e "advinacc=\"1\"
+maxmode=\"1\"">>/appex/etc/config
+	/appex/bin/lotServer.sh restart
 	start_menu
 }