diff --git a/Miscellaneous/BBR/BBR.sh b/Miscellaneous/BBR/BBR.sh index 18e5df5..ff15c4d 100644 --- a/Miscellaneous/BBR/BBR.sh +++ b/Miscellaneous/BBR/BBR.sh @@ -8,9 +8,17 @@ apt-get -qqy install dkms apt-get -qqy install linux-headers-$(uname -r) distro_codename="$(source /etc/os-release && printf "%s" "${VERSION_CODENAME}")" if [[ $distro_codename = buster ]]; then + ## 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 -qqyt buster-backports upgrade wget https://raw.githubusercontent.com/jerry048/Seedbox-Components/main/Miscellaneous/BBR/5.10.0/tcp_bbrx.c kernel_ver=5.10.0 else if [[ $distro_codename = bullseye ]] ; then + ## Update Kernel + normal_1; echo "Updating Kernel"; normal_2 + echo "deb http://deb.debian.org/debian bullseye-backports main" | sudo tee -a /etc/apt/sources.list + apt-get -qqy update && apt -qqyt bullseye-backports upgrade wget https://raw.githubusercontent.com/jerry048/Seedbox-Components/main/Miscellaneous/BBR/5.15.0/tcp_bbrx.c kernel_ver=5.15.0 fi diff --git a/tweaking.sh b/tweaking.sh index d2b9646..c957bd7 100644 --- a/tweaking.sh +++ b/tweaking.sh @@ -464,10 +464,6 @@ EOF ## BBR 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 -qqyt buster-backports upgrade ## 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