Add files via upload

This commit is contained in:
xVRVx
2026-02-03 23:16:29 +03:00
committed by GitHub
parent d39c7f0765
commit 833ae04cd1
2 changed files with 10 additions and 10 deletions

View File

@@ -30,12 +30,12 @@ fi
# Включаем BBR
bbr=$(sysctl -a | grep net.ipv4.tcp_congestion_control)
if [ "$bbr" = "net.ipv4.tcp_congestion_control = bbr" ]; then
echo "BBR уже запущен"
echo "BBR уже запущен"
else
echo "net.core.default_qdisc=fq" >> /etc/sysctl.d/99-autoXRAY.conf
echo "net.ipv4.tcp_congestion_control=bbr" /etc/sysctl.d/99-autoXRAY.conf
sysctl --system
echo "BBR активирован"
echo "net.core.default_qdisc=fq" >> /etc/sysctl.d/99-autoXRAY.conf
echo "net.ipv4.tcp_congestion_control=bbr" >> /etc/sysctl.d/99-autoXRAY.conf
sysctl --system
echo "BBR активирован"
fi