diff options
| author | xujie86 <167618598+xujie86@users.noreply.github.com> | 2025-06-19 09:38:24 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-06-19 09:38:24 +0300 |
| commit | e5752239f409c95abcfc7006b0f196520d56580d (patch) | |
| tree | 2ce96f14a1b9b38d2dd02385a0eed8b8413b2cff | |
| parent | cb22b4ad47816742e7eaa9b9f46f11530b0aae8e (diff) | |
Update x-ui.sh
| -rw-r--r-- | x-ui.sh | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -474,7 +474,7 @@ enable_bbr() { ubuntu | debian | armbian) apt-get update && apt-get install -yqq --no-install-recommends ca-certificates ;; - centos | almalinux | rocky | ol) + centos | rhel | almalinux | rocky | ol) yum -y update && yum -y install ca-certificates ;; fedora | amzn | virtuozzo) @@ -995,7 +995,7 @@ ssl_cert_issue() { ubuntu | debian | armbian) apt update && apt install socat -y ;; - centos | almalinux | rocky | ol) + centos | rhel | almalinux | rocky | ol) yum -y update && yum -y install socat ;; fedora | amzn | virtuozzo) @@ -1511,7 +1511,7 @@ install_iplimit() { debian | armbian) apt update && apt install fail2ban -y ;; - centos | almalinux | rocky | ol) + centos | rhel | almalinux | rocky | ol) yum update -y && yum install epel-release -y yum -y install fail2ban ;; @@ -1591,7 +1591,7 @@ remove_iplimit() { apt-get purge -y fail2ban -y apt-get autoremove -y ;; - centos | almalinux | rocky | ol) + centos | rhel | almalinux | rocky | ol) yum remove fail2ban -y yum autoremove -y ;; |
