mirror of
https://git.yoctoproject.org/meta-security
synced 2026-07-16 15:57:21 +00:00
fail2ban: remove Py2 and update
remove patch included in update fix issues do to python3 fix init file Signed-off-by: Armin Kuster <akuster808@gmail.com>
This commit is contained in:
@@ -17,6 +17,14 @@
|
||||
# Check that the config file exists
|
||||
[ -f /etc/fail2ban/fail2ban.conf ] || exit 0
|
||||
|
||||
echo_success() {
|
||||
echo -n "OK"
|
||||
}
|
||||
|
||||
echo_failure() {
|
||||
echo -n "FAIL"
|
||||
}
|
||||
|
||||
check_privsep_dir() {
|
||||
# Create the PrivSep empty dir if necessary
|
||||
if [ ! -d /var/run/fail2ban ]; then
|
||||
|
||||
Reference in New Issue
Block a user