mirror of
https://github.com/RaspAP/raspap-webgui.git
synced 2024-11-21 15:10:22 +00:00
Update _check_tcp_bbr_available() case insensitive
This commit is contained in:
parent
9e52cda593
commit
2f4680bc23
1 changed files with 1 additions and 1 deletions
|
@ -842,7 +842,7 @@ function _configure_tcp_bbr() {
|
||||||
}
|
}
|
||||||
|
|
||||||
function _check_tcp_bbr_available() {
|
function _check_tcp_bbr_available() {
|
||||||
if [[ "$(modinfo -F intree tcp_bbr)" == "y" ]]; then
|
if [[ "$(modinfo -F intree tcp_bbr)" =~ ^[Yy]$ ]]; then
|
||||||
return 0
|
return 0
|
||||||
else
|
else
|
||||||
return 1
|
return 1
|
||||||
|
|
Loading…
Reference in a new issue