Fix bugs and bump kernel version
This commit is contained in:
parent
d82cafd7b9
commit
7a9cf8901f
|
@ -5,7 +5,7 @@ function BBR_Install {
|
|||
## This part of the script is modified from https://github.com/KozakaiAya/TCP_BBR
|
||||
apt-get -qqy install dkms
|
||||
apt-get -qqy install linux-headers-$(uname -r)
|
||||
wget https://raw.githubusercontent.com/jerry048/Seedbox-Components/main/BBR/5.10.0/tcp_bbrx.c
|
||||
wget https://raw.githubusercontent.com/jerry048/Seedbox-Components/main/BBR/Miscellaneous/5.10.0/tcp_bbrx.c
|
||||
kernel_ver=5.10.0
|
||||
algo=bbrx
|
||||
bbr_file=tcp_$algo
|
||||
|
|
|
@ -467,7 +467,7 @@ function Tweaked_BBR {
|
|||
## Update Kernel
|
||||
normal_1; echo "Updating Kernel"; normal_2
|
||||
echo "deb http://deb.debian.org/debian buster-backports main" | sudo tee -a /etc/apt/sources.list
|
||||
apt-get -qqy update && apt-get -qqy install linux-image-5.10.0-0.bpo.7-amd64
|
||||
apt-get -qqy update && apt-get -qqy install linux-image-5.10.0-0.bpo.8-amd64
|
||||
## Install tweaked BBR automatically on reboot
|
||||
wget https://raw.githubusercontent.com/jerry048/Seedbox-Components/main/Miscellaneous/BBR/BBR.sh && chmod +x BBR.sh
|
||||
cat << EOF > /etc/systemd/system/bbrinstall.service
|
||||
|
|
Loading…
Reference in New Issue