mirror of
https://github.com/teddysun/across.git
synced 2025-01-18 22:09:35 +08:00
update kernel version check
Signed-off-by: Teddysun <i@teddysun.com>
This commit is contained in:
parent
092d2b1165
commit
36afe7729d
2
bbr.sh
2
bbr.sh
@ -97,7 +97,7 @@ centosversion() {
|
|||||||
|
|
||||||
check_bbr_status() {
|
check_bbr_status() {
|
||||||
local param=$(sysctl net.ipv4.tcp_available_congestion_control | awk '{print $3}')
|
local param=$(sysctl net.ipv4.tcp_available_congestion_control | awk '{print $3}')
|
||||||
if uname -r | grep -Eqi "4.9."; then
|
if uname -r | grep -Eqi "4.10."; then
|
||||||
if [[ "${param}" == "bbr" ]]; then
|
if [[ "${param}" == "bbr" ]]; then
|
||||||
return 0
|
return 0
|
||||||
else
|
else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user