From b88ec0029f8f4b3586247a0081a6d90c1916e7a1 Mon Sep 17 00:00:00 2001 From: AaronYES <105576821+AaronYES@users.noreply.github.com> Date: Sun, 15 May 2022 15:39:26 +0800 Subject: [PATCH] Update aapanel.sh --- aapanel.sh | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/aapanel.sh b/aapanel.sh index 8ddf8a3..e551fcf 100644 --- a/aapanel.sh +++ b/aapanel.sh @@ -48,14 +48,6 @@ bash "/root/panel/downgrade.sh" blue "降级成功." } -## 开启 BBR FQ -function bbr-fq{ -echo "net.core.default_qdisc=fq" >> /etc/sysctl.conf -echo "net.ipv4.tcp_congestion_control=bbr" >> /etc/sysctl.conf -sysctl -p -blue "你可以执行 lsmod | grep bbr 查看是否成功开启" -} - # 菜单 function start_menu(){ clear @@ -67,8 +59,6 @@ function start_menu(){ green " 2. 降级 6.8.23 版本 aaPanel(官网)" green " 3. 降级 6.8.23 版本 aaPanel(GitHub仓库)" yellow " --------------------------------------------------" - green " 4. 开启 BBR FQ" - yellow " --------------------------------------------------" green " 0. 退出脚本" echo read -p "请输入数字:" menuNumberInput @@ -82,9 +72,6 @@ function start_menu(){ 3 ) downgrade-github ;; - 4 ) - bbr-fq - ;; 0 ) exit 1 ;; @@ -95,4 +82,4 @@ function start_menu(){ ;; esac } -start_menu "first" \ No newline at end of file +start_menu "first"