mirror of
https://github.com/teddysun/across.git
synced 2025-10-29 16:05:32 +08:00
2
bbr.sh
2
bbr.sh
@@ -97,7 +97,7 @@ centosversion() {
|
|||||||
|
|
||||||
check_bbr_status() {
|
check_bbr_status() {
|
||||||
local param=$(sysctl net.ipv4.tcp_available_congestion_control | awk '{print $3}')
|
local param=$(sysctl net.ipv4.tcp_available_congestion_control | awk '{print $3}')
|
||||||
if uname -r | grep -Eqi "4.9."; then
|
if uname -r | grep -Eqi "4.10."; then
|
||||||
if [[ "${param}" == "bbr" ]]; then
|
if [[ "${param}" == "bbr" ]]; then
|
||||||
return 0
|
return 0
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user