Update fail2ban.sh
This commit is contained in:
parent
df19efd7a9
commit
e1089f8034
|
|
@ -13,6 +13,9 @@ verbose "Installing Fail2ban"
|
||||||
#add the dependencies
|
#add the dependencies
|
||||||
pkg install --yes py27-fail2ban
|
pkg install --yes py27-fail2ban
|
||||||
|
|
||||||
|
#update the list of executables in the path
|
||||||
|
rehash
|
||||||
|
|
||||||
#enable fail2ban service
|
#enable fail2ban service
|
||||||
echo 'fail2ban_enable="YES"' >> /etc/rc.conf
|
echo 'fail2ban_enable="YES"' >> /etc/rc.conf
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue