Skip to content

Instantly share code, notes, and snippets.

@raven4752
raven4752 / ubuntu_enable_bbr.sh
Created March 24, 2018 14:56 — 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