summaryrefslogtreecommitdiff
path: root/network/dnsflood/rc.dnsflood
diff options
context:
space:
mode:
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
-