mirror of
https://github.com/leitbogioro/Tools.git
synced 2024-11-15 13:44:50 +08:00
Update alpineInit.sh
This commit is contained in:
parent
0983e3552e
commit
bcb4764878
1 changed files with 1 additions and 1 deletions
|
@ -119,7 +119,7 @@ apk update
|
|||
apk add bind-tools curl dhcpcd e2fsprogs fail2ban grep grub lsblk lsof net-tools udev util-linux vim wget
|
||||
|
||||
# Config fail2ban
|
||||
sed -i '/\[Definition\]/a allowipv6 = auto' /etc/fail2ban/fail2ban.conf
|
||||
sed -i '/^\[Definition\]/a allowipv6 = auto' /etc/fail2ban/fail2ban.conf
|
||||
rc-update add fail2ban
|
||||
/etc/init.d/fail2ban start
|
||||
|
||||
|
|
Loading…
Reference in a new issue