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.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
}