From 2f4680bc23d5f0c3dfe5a7486ee5e1df759b9fe2 Mon Sep 17 00:00:00 2001 From: billz Date: Tue, 29 Oct 2024 02:14:06 -0700 Subject: [PATCH] Update _check_tcp_bbr_available() case insensitive --- installers/common.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/installers/common.sh b/installers/common.sh index ac47406a..472058d9 100755 --- a/installers/common.sh +++ b/installers/common.sh @@ -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