mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2025-09-09 11:46:18 +00:00
modified: x-ui.sh
This commit is contained in:
parent
1f7aa64603
commit
d8ad3feb40
1 changed files with 4 additions and 1 deletions
5
x-ui.sh
5
x-ui.sh
|
@ -1015,7 +1015,10 @@ EOF
|
|||
}
|
||||
|
||||
iplimit_remove_conflicts() {
|
||||
local jail_files=(/etc/fail2ban/jail.conf /etc/fail2ban/jail.local)
|
||||
local jail_files[0]=/etc/fail2ban/jail.conf
|
||||
local jail_files[1]=/etc/fail2ban/jail.local
|
||||
|
||||
|
||||
|
||||
for file in "${jail_files[@]}"; do
|
||||
# Check for [3x-ipl] config in jail file then remove it
|
||||
|
|
Loading…
Reference in a new issue