mirror of
https://github.com/RaspAP/raspap-webgui.git
synced 2024-11-21 15:10:22 +00:00
Revise tcp_bbr check method, resolves #1656
This commit is contained in:
parent
57199def06
commit
fa42e0c3f1
1 changed files with 1 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue