mirror of
https://github.com/RaspAP/raspap-webgui.git
synced 2024-11-21 23:20:22 +00:00
Merge pull request #1686 from RaspAP/fix/check-tcp-bbr-available
Fix: Case insensitive modinfo return value check
This commit is contained in:
commit
54cf3132ad
1 changed files with 1 additions and 1 deletions
|
@ -842,7 +842,7 @@ function _configure_tcp_bbr() {
|
|||
}
|
||||
|
||||
function _check_tcp_bbr_available() {
|
||||
if [[ "$(modinfo -F intree tcp_bbr)" == "y" ]]; then
|
||||
if [[ "$(modinfo -F intree tcp_bbr)" =~ ^[Yy]$ ]]; then
|
||||
return 0
|
||||
else
|
||||
return 1
|
||||
|
|
Loading…
Reference in a new issue