From d0a00888945a8a0d1d0b75640a22f32722267b81 Mon Sep 17 00:00:00 2001 From: Cyril Jaquier Date: Mon, 1 Aug 2005 16:58:14 +0000 Subject: [PATCH] - Redirect stdout to /dev/null git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_5@167 a942ae1a-1317-0410-a47c-b1dcaea8d605 --- config/gentoo-initd | 4 ++-- config/redhat-initd | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/config/gentoo-initd b/config/gentoo-initd index 11b81e7d8..8cab7535c 100755 --- a/config/gentoo-initd +++ b/config/gentoo-initd @@ -31,13 +31,13 @@ depend() { start() { ebegin "Starting fail2ban" - ${FAIL2BAN} -b ${FAIL2BAN_OPTS} + ${FAIL2BAN} -b ${FAIL2BAN_OPTS} > /dev/null eend $? "Failed to start fail2ban" } stop() { ebegin "Stopping fail2ban" - ${FAIL2BAN} -k + ${FAIL2BAN} -k > /dev/null eend $? "Failed to stop fail2ban" } diff --git a/config/redhat-initd b/config/redhat-initd index b17536725..6e885ab5c 100644 --- a/config/redhat-initd +++ b/config/redhat-initd @@ -28,7 +28,7 @@ RETVAL=0 start() { echo -n $"Starting fail2ban: " - "${FAIL2BAN}" -b + "${FAIL2BAN}" -b > /dev/null RETVAL=$? echo } @@ -36,7 +36,7 @@ start() { stop() { if [ -f "${PIDFILE}" ]; then echo -n $"Stopping fail2ban: " - "${FAIL2BAN}" -k + "${FAIL2BAN}" -k > /dev/null echo fi }