Skip to content

Instantly share code, notes, and snippets.

@maxwhale
maxwhale / ubuntu_enable_bbr.sh
Created November 23, 2018 22:29 — forked from Jamesits/ubuntu_enable_bbr.sh
Ubuntu enable BBR
#!/bin/bash
set -eu
SYSCTL_FILE=/etc/sysctl.d/90-tcp-bbr.conf
# check root
if [[ $EUID -ne 0 ]]; then
echo "This script must be run as root"
exit 1
fi