From bcb47648780ba8c5796b7aea4423b66949716d00 Mon Sep 17 00:00:00 2001 From: Molly Lau Date: Mon, 28 Aug 2023 03:35:14 +0900 Subject: [PATCH] Update alpineInit.sh --- Linux_reinstall/Alpine/alpineInit.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Linux_reinstall/Alpine/alpineInit.sh b/Linux_reinstall/Alpine/alpineInit.sh index 9932128..c65cb4a 100644 --- a/Linux_reinstall/Alpine/alpineInit.sh +++ b/Linux_reinstall/Alpine/alpineInit.sh @@ -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