Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/MHSanaei/3x-ui.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNebulosa <85841412+nebulosa2007@users.noreply.github.com>2026-01-09 19:05:55 +0300
committerGitHub <noreply@github.com>2026-01-09 19:05:55 +0300
commit427b7b67d8c67c75f7a98c84a24145118033ebd8 (patch)
tree19edaf89ada52ed7c1216872d64651a38ac7c99a /x-ui.sh
parentccf08086ac7a921b3b1ace89749c886ca60d1553 (diff)
Refactor ca-certificate dependency (#3655)
Diffstat (limited to 'x-ui.sh')
-rw-r--r--x-ui.sh30
1 files changed, 0 insertions, 30 deletions
diff --git a/x-ui.sh b/x-ui.sh
index 7a56c357..bdb48817 100644
--- a/x-ui.sh
+++ b/x-ui.sh
@@ -539,36 +539,6 @@ enable_bbr() {
before_show_menu
fi
- # Check the OS and install necessary packages
- case "${release}" in
- ubuntu | debian | armbian)
- apt-get update && apt-get install -yqq --no-install-recommends ca-certificates
- ;;
- fedora | amzn | virtuozzo | rhel | almalinux | rocky | ol)
- dnf -y update && dnf -y install ca-certificates
- ;;
- centos)
- if [[ "${VERSION_ID}" =~ ^7 ]]; then
- yum -y update && yum -y install ca-certificates
- else
- dnf -y update && dnf -y install ca-certificates
- fi
- ;;
- arch | manjaro | parch)
- pacman -Sy --noconfirm ca-certificates
- ;;
- opensuse-tumbleweed | opensuse-leap)
- zypper refresh && zypper -q install -y ca-certificates
- ;;
- alpine)
- apk add ca-certificates
- ;;
- *)
- echo -e "${red}Unsupported operating system. Please check the script and install the necessary packages manually.${plain}\n"
- exit 1
- ;;
- esac
-
# Enable BBR
echo "net.core.default_qdisc=fq" | tee -a /etc/sysctl.conf
echo "net.ipv4.tcp_congestion_control=bbr" | tee -a /etc/sysctl.conf