summaryrefslogtreecommitdiff
path: root/network/fail2ban/rc.fail2ban
diff options
context:
space:
mode:
Diffstat (limited to 'network/fail2ban/rc.fail2ban')
-rw-r--r--network/fail2ban/rc.fail2ban12
1 files changed, 6 insertions, 6 deletions
diff --git a/network/fail2ban/rc.fail2ban b/network/fail2ban/rc.fail2ban
index 0dc68048b4..001d698d35 100644
--- a/network/fail2ban/rc.fail2ban
+++ b/network/fail2ban/rc.fail2ban
@@ -15,29 +15,29 @@
fail2ban_start() {
if [ -x /etc/rc.d/rc.fail2ban ]; then
- echo "Starting fail2ban: "
- ### using -x option to remove any stale socket file.
+ printf "Starting fail2ban\n"
+ ### using -x option to remove any stale socket file
/usr/bin/fail2ban-client -x start
fi
}
fail2ban_stop() {
- echo "Stopping fail2ban"
+ printf "Stopping fail2ban\n"
/usr/bin/fail2ban-client stop
}
fail2ban_reload() {
- echo "Reloading fail2ban"
+ printf "Reloading fail2ban\n"
/usr/bin/fail2ban-client reload
}
fail2ban_status() {
- echo "Status: fail2ban"
+ printf "fail2ban Status\n"
/usr/bin/fail2ban-client status
}
fail2ban_ping() {
- echo "Pinging fail2ban"
+ printf "Pinging fail2ban\n"
/usr/bin/fail2ban-client ping
}