diff --git a/freebsd/install.sh b/freebsd/install.sh index b4bfba5..d22fafb 100755 --- a/freebsd/install.sh +++ b/freebsd/install.sh @@ -43,11 +43,6 @@ if [ .$nginx_enabled = .'true' ]; then resources/nginx.sh fi -#Fail2ban -if [ .$fail2ban_enabled = .'true' ]; then - resources/fail2ban.sh -fi - #FreeSWITCH if [ .$switch_enabled = .'true' ]; then resources/switch.sh @@ -67,5 +62,10 @@ if [ .$fail2ban_enabled = .'true' ]; then service fail2ban restart fi +#Fail2ban +if [ .$fail2ban_enabled = .'true' ]; then + resources/fail2ban.sh +fi + #add the database schema, user and groups resources/finish.sh