Skip to content

Commit

Permalink
Revise tcp_bbr check method, resolves #1656
Browse files Browse the repository at this point in the history
  • Loading branch information
billz committed Sep 14, 2024
1 parent 57199de commit fa42e0c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions installers/common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -842,8 +842,7 @@ function _configure_tcp_bbr() {
}

function _check_tcp_bbr_available() {
config_file="/boot/config-$(uname -r)"
if grep -q 'CONFIG_TCP_CONG_BBR' "$config_file" && grep -q 'CONFIG_NET_SCH_FQ' "$config_file"; then
if [[ "$(modinfo -F intree tcp_bbr)" == "y" ]]; then
return 0
else
return 1
Expand Down

0 comments on commit fa42e0c

Please sign in to comment.