From 17a22ff1b1f7c6c34f85423cb8a17a677d5afc0f Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Thu, 14 Mar 2019 09:00:50 -0600 Subject: [PATCH] Update fail2ban.sh --- debian/resources/fail2ban.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/debian/resources/fail2ban.sh b/debian/resources/fail2ban.sh index 86d12e8..d26a36c 100755 --- a/debian/resources/fail2ban.sh +++ b/debian/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