1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter-feeds.git synced 2025-03-09 15:40:03 +00:00

Set congestion to BBR by default

This commit is contained in:
Ycarus 2018-08-01 14:47:12 +02:00
parent 63a31e6a09
commit 156e06ba13

View file

@ -4,12 +4,18 @@ if [ "$(uci -q show network.globals | grep mptcp_path_manager)" = "" ]; then
set network.globals.multipath='enable'
set network.globals.mptcp_path_manager='fullmesh'
set network.globals.mptcp_scheduler='default'
set network.globals.congestion='olia'
set network.globals.congestion='bbr'
set network.globals.mptcp_checksum=0
set network.globals.mptcp_syn_retries=5
commit network
EOF
fi
if [ "$(uci -q get network.globals.congestion)" != "bbr" ]; then
uci -q batch <<-EOF
set network.globals.congestion=bbr
commit network
EOF
fi
if [ "$(uci -q get network.globals.mptcp_syn_retries)" != "5" ]; then
uci -q batch <<-EOF
set network.globals.mptcp_syn_retries=5