summaryrefslogtreecommitdiff
path: root/network/dnsflood/rc.dnsflood
diff options
context:
space:
mode:
authorRobby Workman <rworkman@slackbuilds.org>2011-03-14 16:42:05 -0500
committerRobby Workman <rworkman@slackbuilds.org>2011-03-14 16:42:05 -0500
commit35779ae901f1909fe9555fb998261065c695f9b2 (patch)
tree679d9f7b73e0ab5e2a324fc60d92acaa8aa4286f /network/dnsflood/rc.dnsflood
parent2d5f1998b47a1966bd3d727ac4749a5fee8a7954 (diff)
downloadslackbuilds-35779ae901f1909fe9555fb998261065c695f9b2.tar.gz
network/dnsflood: Removed (unmaintained)
Reference: http://lists.slackbuilds.org/pipermail/slackbuilds-users/2010-October/006570.html Signed-off-by: Heinz Wiesinger <pprkut@slackbuilds.org> Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'network/dnsflood/rc.dnsflood')
-rw-r--r--network/dnsflood/rc.dnsflood37
1 files changed, 0 insertions, 37 deletions
diff --git a/network/dnsflood/rc.dnsflood b/network/dnsflood/rc.dnsflood
deleted file mode 100644
index 011e5c88c9..0000000000
--- a/network/dnsflood/rc.dnsflood
+++ /dev/null
@@ -1,37 +0,0 @@
-#!/bin/sh
-
-dnsflood_start() {
- if [ -x /usr/sbin/dns_flood_detector ]; then
- echo "Starting DNS Flood Detector: /usr/sbin/dns_flood_detector -d"
- /usr/sbin/dns_flood_detector -d
- fi
-
-}
-
-dnsflood_stop() {
- killall dns_flood_detector
-
-}
-
-dnsflood_restart() {
- dnsflood_stop
- sleep 1
- dnsflood_start
-
-}
-
-case "$1" in
-'start')
- dnsflood_start
- ;;
-'stop')
- dnsflood_stop
- ;;
-'restart')
- dnsflood_restart
- ;;
-*)
- echo "Usage: $0 start|stop|restart"
- exit 1
-esac
-