forked from norman/fusionpbx-install.sh-github-mirror
POSIX sh empty value check compatibility - part 1 (#62)
# Conflicts: # debian/resources/switch/package-all.sh # debian/resources/switch/package-release.sh
This commit is contained in:
2
debian/resources/fail2ban.sh
vendored
2
debian/resources/fail2ban.sh
vendored
@@ -23,7 +23,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 [ .$USE_FREESWITCH_SOURCE = .true ]; then
|
||||
sed 's#var/log/freeswitch#usr/local/freeswitch/log#g' -i /etc/fail2ban/jail.local
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user