mirror of
https://github.com/kejilion/sh.git
synced 2025-10-03 23:34:20 +08:00
Update kejilion.sh
This commit is contained in:
parent
5a189e54f2
commit
5dc799c636
1 changed files with 1 additions and 1 deletions
|
@ -3038,7 +3038,7 @@ f2b_install_sshd() {
|
|||
start fail2ban
|
||||
enable fail2ban
|
||||
|
||||
if grep -q 'dnf' /etc/issue; then
|
||||
if command -v dnf &>/dev/null; then
|
||||
cd /etc/fail2ban/jail.d/
|
||||
curl -sS -O ${gh_proxy}raw.githubusercontent.com/kejilion/config/main/fail2ban/centos-ssh.conf
|
||||
fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue