Эх сурвалжийг харах

Install FreeSWITCH then Fail2ban.

FusionPBX 4 жил өмнө
parent
commit
94914a2052
1 өөрчлөгдсөн 5 нэмэгдсэн , 5 устгасан
  1. 5 5
      freebsd/install.sh

+ 5 - 5
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