dotfiles/cli/bbr.sh
2020-11-22 09:38:00 +08:00

8 lines
174 B
Bash
Executable File

#!/bin/sh
if ! lsmod | grep bbr; then
echo "net.core.default_qdisc=fq" >> /etc/sysctl.conf
echo "net.ipv4.tcp_congestion_control=bbr" >> /etc/sysctl.conf
sysctl -p
fi