From 4fb77ace85a18b52b3bc1e2cb494037452c89a07 Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Fri, 30 Aug 2024 17:57:43 -0600 Subject: [PATCH] Update fail2ban.sh --- ubuntu/resources/fail2ban.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ubuntu/resources/fail2ban.sh b/ubuntu/resources/fail2ban.sh index 81d181f..6b7bb00 100755 --- a/ubuntu/resources/fail2ban.sh +++ b/ubuntu/resources/fail2ban.sh @@ -27,9 +27,9 @@ cp fail2ban/nginx-dos.conf /etc/fail2ban/filter.d/nginx-dos.conf cp fail2ban/jail.local /etc/fail2ban/jail.local #update config if source is being used -if [ .$switch_source = .true ]; then - sed 's#var/log/freeswitch#usr/local/freeswitch/log#g' -i /etc/fail2ban/jail.local -fi +#if [ .$switch_source = .true ]; then +# sed 's#var/log/freeswitch#usr/local/freeswitch/log#g' -i /etc/fail2ban/jail.local +#fi #restart fail2ban /usr/sbin/service fail2ban restart