added if statement to disable f2b jail for fail2ban
This commit is contained in:
1 parent
824ff17ee3
commit
0e6c8e27aa
1 file changed
+4
-1
@@ -40,4 +40,7 @@ wget -q -t7 https://plugins.svn.wordpress.org/wp-fail2ban/trunk/filters.d/wordpr
|
|||||||
|
|
||||||
#General jails
|
#General jails
|
||||||
wget -q -t7 "$repo"/raw/branch/"$branch"/config/fail2ban/Jails/sshd.jail -O /etc/fail2ban/jail.d/sshd.local
|
wget -q -t7 "$repo"/raw/branch/"$branch"/config/fail2ban/Jails/sshd.jail -O /etc/fail2ban/jail.d/sshd.local
|
||||||
wget -q -t7 "$repo"/raw/branch/"$branch"/config/fail2ban/Jails/phpmyadmin.jail -O /etc/fail2ban/jail.d/phpmyadmin.local
|
if [ -z $disbackendcms ]; then
|
||||||
|
wget -q -t7 "$repo"/raw/branch/"$branch"/config/fail2ban/Jails/phpmyadmin.jail -O /etc/fail2ban/jail.d/phpmyadmin.local
|
||||||
|
fi
|
||||||
|
|
||||||
Reference in new issue
Block a user