aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-security/fail2ban/files/initd
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-security/fail2ban/files/initd')
-rw-r--r--recipes-security/fail2ban/files/initd8
1 files changed, 8 insertions, 0 deletions
diff --git a/recipes-security/fail2ban/files/initd b/recipes-security/fail2ban/files/initd
index 4f4b394..ef58e2d 100644
--- a/recipes-security/fail2ban/files/initd
+++ b/recipes-security/fail2ban/files/initd
@@ -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