From 3ec71dcbd1d62f8236a1fade6364ae7bd9821834 Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Sat, 4 Mar 2017 13:47:01 -0700 Subject: [PATCH] Update fail2ban.sh --- debian/resources/fail2ban.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/resources/fail2ban.sh b/debian/resources/fail2ban.sh index a912122..7e7584c 100755 --- a/debian/resources/fail2ban.sh +++ b/debian/resources/fail2ban.sh @@ -25,7 +25,7 @@ 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 [ .$USE_FREESWITCH_SOURCE = .true ]; then +if [ .$switch_source = .true ]; then sed 's#var/log/freeswitch#usr/local/freeswitch/log#g' -i /etc/fail2ban/jail.local fi