Browse Source

Update tcp.sh

Chikage 6 năm trước cách đây
mục cha
commit
8a55947c2d
1 tập tin đã thay đổi với 6 bổ sung0 xóa
  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
 }