Update tweaking.sh

This commit is contained in:
jerry048 2022-02-02 03:32:21 +08:00
parent 6f9612237a
commit b012bf1037
1 changed files with 1 additions and 0 deletions

View File

@ -466,6 +466,7 @@ EOF
function Tweaked_BBR { function Tweaked_BBR {
## Update Kernel ## Update Kernel
normal_1; echo "Updating Kernel"; normal_2 normal_1; echo "Updating Kernel"; normal_2
distro_codename="$(source /etc/os-release && printf "%s" "${VERSION_CODENAME}")"
if [[ $distro_codename = buster ]]; then if [[ $distro_codename = buster ]]; then
echo "deb http://deb.debian.org/debian buster-backports main" | sudo tee -a /etc/apt/sources.list 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 apt-get -qqy update && apt -qqyt buster-backports upgrade