forked from norman/fusionpbx-install.sh-github-mirror
Update fail2ban.sh
This commit is contained in:
2
debian/resources/fail2ban.sh
vendored
2
debian/resources/fail2ban.sh
vendored
@@ -25,7 +25,7 @@ cp fail2ban/nginx-dos.conf /etc/fail2ban/filter.d/nginx-dos.conf
|
|||||||
cp fail2ban/jail.local /etc/fail2ban/jail.local
|
cp fail2ban/jail.local /etc/fail2ban/jail.local
|
||||||
|
|
||||||
#update config if source is being used
|
#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
|
sed 's#var/log/freeswitch#usr/local/freeswitch/log#g' -i /etc/fail2ban/jail.local
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user