mirror of
https://github.com/billz/raspap-webgui.git
synced 2025-03-01 10:31:47 +00:00
Update _check_tcp_bbr_available() case insensitive
This commit is contained in:
parent
9e52cda593
commit
2f4680bc23
@ -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…
x
Reference in New Issue
Block a user