summaryrefslogtreecommitdiff
path: root/network/fail2ban/rc.fail2ban
diff options
context:
space:
mode:
authorNishant Limbachia <nishant@mnspace.net>2017-09-24 10:48:43 +0100
committerDavid Spencer <idlemoor@slackbuilds.org>2017-09-24 10:48:43 +0100
commit63b4dca52e53bd1d9460713d7078d557ef14a531 (patch)
tree8cbaf827cbfae83bd4cc6cf5a46a72edc2a959f7 /network/fail2ban/rc.fail2ban
parenta8b73487f5fabb6d05c43e4033d93eb4f30c55ea (diff)
downloadslackbuilds-63b4dca52e53bd1d9460713d7078d557ef14a531.tar.gz
network/fail2ban: Updated for version 0.10.0.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
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
}