Added configuration of BBR congestion control.

This commit is contained in:
2025-02-15 19:21:33 -05:00
parent 0029e52b00
commit 921bf21a5a

View File

@@ -1,4 +1,4 @@
#!/bin/bash
c#!/bin/bash
# Copyright 2025 Logan Fick
#
@@ -235,6 +235,13 @@ fi
print "Enabling systemd-timesyncd..."
arch-chroot /mnt systemctl enable systemd-timesyncd.service
# https://wiki.archlinux.org/index.php?title=Sysctl#Enable_BBR
print "Setting up BBR congestion control..."
arch-chroot /mnt sh -c "cat > /etc/sysctl.d/10-bbr.conf" <<EOF
net.core.default_qdisc = cake
net.ipv4.tcp_congestion_control = bbr
EOF
install_base_xfce() {
arch-chroot /mnt pacman --noconfirm -S lightdm \
lightdm-gtk-greeter \