瀏覽代碼

Update tcp.sh

Chikage 6 年之前
父節點
當前提交
8a55947c2d
共有 1 個文件被更改,包括 6 次插入0 次删除
  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
 }