Update x-ui.sh

This commit is contained in:
mhsanaei 2024-04-17 09:55:34 +03:30
parent 4d458964d7
commit e454fd9fa7

View file

@ -422,7 +422,7 @@ enable_bbr() {
fedora) fedora)
dnf -y update && dnf -y install ca-certificates dnf -y update && dnf -y install ca-certificates
;; ;;
arch | manjaro) arch | manjaro | parch)
pacman -Sy --noconfirm ca-certificates pacman -Sy --noconfirm ca-certificates
;; ;;
*) *)
@ -749,7 +749,7 @@ ssl_cert_issue() {
fedora) fedora)
dnf -y update && dnf -y install socat dnf -y update && dnf -y install socat
;; ;;
arch | manjaro) arch | manjaro | parch)
pacman -Sy --noconfirm socat pacman -Sy --noconfirm socat
;; ;;
*) *)
@ -1117,7 +1117,7 @@ install_iplimit() {
fedora) fedora)
dnf -y update && dnf -y install fail2ban dnf -y update && dnf -y install fail2ban
;; ;;
arch | manjaro) arch | manjaro | parch)
pacman -Syu --noconfirm fail2ban pacman -Syu --noconfirm fail2ban
;; ;;
*) *)
@ -1199,7 +1199,7 @@ remove_iplimit() {
dnf remove fail2ban -y dnf remove fail2ban -y
dnf autoremove -y dnf autoremove -y
;; ;;
arch | manjaro) arch | manjaro | parch)
pacman -Rns --noconfirm fail2ban pacman -Rns --noconfirm fail2ban
;; ;;
*) *)