Update alpineInit.sh

This commit is contained in:
Molly Lau 2023-08-28 03:35:14 +09:00 committed by GitHub
parent 0983e3552e
commit bcb4764878
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 apk add bind-tools curl dhcpcd e2fsprogs fail2ban grep grub lsblk lsof net-tools udev util-linux vim wget
# Config fail2ban # 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 rc-update add fail2ban
/etc/init.d/fail2ban start /etc/init.d/fail2ban start