From e1089f803486beed8b3efcd43ff27e70ac1f5781 Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Fri, 31 Mar 2017 18:53:44 -0600 Subject: [PATCH] Update fail2ban.sh --- freebsd/resources/fail2ban.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/freebsd/resources/fail2ban.sh b/freebsd/resources/fail2ban.sh index d27e1bb..9a0f49a 100755 --- a/freebsd/resources/fail2ban.sh +++ b/freebsd/resources/fail2ban.sh @@ -13,6 +13,9 @@ verbose "Installing Fail2ban" #add the dependencies pkg install --yes py27-fail2ban +#update the list of executables in the path +rehash + #enable fail2ban service echo 'fail2ban_enable="YES"' >> /etc/rc.conf