summaryrefslogtreecommitdiffstats
path: root/network/fail2ban/rc.fail2ban
diff options
context:
space:
mode:
author Nishant Limbachia <nishant@mnspace.net>2010-12-06 23:12:15 -0600
committer Robby Workman <rworkman@slackbuilds.org>2010-12-06 23:25:39 -0600
commit493ef0f8c75ccbd0d18c594e9dcedd0181c9a0e4 (patch)
treee7771630d1a5ba609ee37a87d42886a5016c4178 /network/fail2ban/rc.fail2ban
parent3184cd977a08b55392f351622f8f7b93a5c407ac (diff)
downloadslackbuilds-493ef0f8c75ccbd0d18c594e9dcedd0181c9a0e4.tar.gz
slackbuilds-493ef0f8c75ccbd0d18c594e9dcedd0181c9a0e4.tar.xz
network/fail2ban: Minor cosmetic changes.
Signed-off-by: Erik Hanson <erik@slackbuilds.org>
Diffstat (limited to 'network/fail2ban/rc.fail2ban')
-rw-r--r--network/fail2ban/rc.fail2ban8
1 files changed, 3 insertions, 5 deletions
diff --git a/network/fail2ban/rc.fail2ban b/network/fail2ban/rc.fail2ban
index 86c6b7de52..b439ae51ea 100644
--- a/network/fail2ban/rc.fail2ban
+++ b/network/fail2ban/rc.fail2ban
@@ -1,11 +1,12 @@
#!/bin/sh
#
-# Copyright (c) 2008-2009, Nishant Limbachia, Hoffman Est, IL, USA (nishant@mnspace.net)
+# Copyright (c) 2008-2010, Nishant Limbachia, Hoffman Estates, IL, USA
+# <nishant _AT_ mnspace _DOT_ net>
# /etc/rc.d/rc.fail2ban
#
# start|stop|restart|reload|status|ping fail2ban server
#
-# To start fail2ban automatically at boot, make this file executable:
+# To start fail2ban automatically at boot, make this file executable:
# chmod 755 /etc/rc.d/rc.fail2ban
# you must also add this file to rc.local for fail2ban to start during boot.
@@ -17,9 +18,6 @@ fail2ban_start() {
echo "Starting fail2ban: "
### using -x option to remove any stale socket file.
/usr/bin/fail2ban-client -x start
- else
- echo "rc.fail2ban is not executable or you don't have enough permissions"
- exit 1
fi
}