summaryrefslogtreecommitdiff
path: root/community/bind-geodns/named
diff options
context:
space:
mode:
Diffstat (limited to 'community/bind-geodns/named')
-rwxr-xr-xcommunity/bind-geodns/named41
1 files changed, 0 insertions, 41 deletions
diff --git a/community/bind-geodns/named b/community/bind-geodns/named
deleted file mode 100755
index f250907b9..000000000
--- a/community/bind-geodns/named
+++ /dev/null
@@ -1,41 +0,0 @@
-#!/bin/bash
-
-NAMED_ARGS=
-[ -f /etc/conf.d/named ] && . /etc/conf.d/named
-
-. /etc/rc.conf
-. /etc/rc.d/functions
-
-PID=`pidof -o %PPID /usr/sbin/named`
-case "$1" in
- start)
- stat_busy "Starting DNS"
-
- [ -d /var/run/named ] || { mkdir -p /var/run/named; chown 40:40 /var/run/named; }
- [ -z "$PID" ] && /usr/sbin/named ${NAMED_ARGS}
- if [ $? -gt 0 ]; then
- stat_fail
- else
- add_daemon named
- stat_done
- fi
- ;;
- stop)
- stat_busy "Stopping DNS"
- [ ! -z "$PID" ] && kill $PID &> /dev/null
- if [ $? -gt 0 ]; then
- stat_fail
- else
- rm_daemon named
- stat_done
- fi
- ;;
- restart)
- $0 stop
- sleep 1
- $0 start
- ;;
- *)
- echo "usage: $0 {start|stop|restart}"
-esac
-exit 0