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