Explorar o código

Update tcp.sh

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

+ 6 - 0
tcp.sh

@@ -202,6 +202,12 @@ startbbrmod_nanqinlang(){
 #启用Lotserver
 startlotserver(){
 	remove_all
+	if [[ "${release}" == "centos" ]]; then
+		yum install ethtool
+	else
+		apt-get update
+		apt-get install ethtool
+	fi
 	bash <(wget --no-check-certificate -qO- https://github.com/MoeClub/lotServer/raw/master/Install.sh) install
 	start_menu
 }