]> granicus.if.org Git - pdns/commitdiff
Remove unused precursor init script
authorChristian Hofstaedtler <christian@hofstaedtler.name>
Tue, 15 Oct 2013 10:40:06 +0000 (12:40 +0200)
committerChristian Hofstaedtler <christian@hofstaedtler.name>
Tue, 15 Oct 2013 10:59:01 +0000 (12:59 +0200)
There's another one in pdns_recursor.init.d, which is the one that's
actually distributed.

Makefile.am
configure.ac
pdns/.gitignore
pdns/precursor.in [deleted file]

index 59002e808df54b978533c78cb51f1d99cb13f62a..82924a785fa59264c17eb3b272f69e0a411501cd 100644 (file)
@@ -21,11 +21,9 @@ pdns/docs/dnstcpbench.1:
 
 install-exec-local: 
        -@chmod +x pdns/pdns
-       -@chmod +x pdns/precursor
        @echo "***********************************************************"
        @echo
-       @echo init.d startup scripts have been made for you in pdns/pdns
-       @echo and in pdns/precursor
+       @echo An init.d startup script has been made for you in pdns/pdns.
        @echo You may want to copy these to /etc/init.d or equivalent
        @echo
        @echo "***********************************************************"
index b90c840e0409390763344bbd112db0d5e2067893..35e48c47a7cd9bc74b454f7983ba3d49e1b15534 100644 (file)
@@ -767,7 +767,7 @@ AC_SUBST(LIBS)
 export moduledirs moduleobjects modulelibs
 
 AC_OUTPUT(Makefile modules/Makefile pdns/Makefile codedocs/Makefile \
-pdns/backends/Makefile pdns/backends/bind/Makefile pdns/pdns pdns/precursor \
+pdns/backends/Makefile pdns/backends/bind/Makefile pdns/pdns \
 modules/gmysqlbackend/Makefile modules/db2backend/Makefile \
 modules/geobackend/Makefile modules/opendbxbackend/Makefile \
 modules/pipebackend/Makefile modules/oraclebackend/Makefile \
index 69841d389199119931d416e967ec9f6ef84552c4..88b21c41b8a2b387cb9e7a14a7ad99a4b7b016da 100644 (file)
@@ -10,7 +10,6 @@
 /pdns_server
 /pdns_recursor
 /pdnssec
-/precursor
 /sdig
 /dnslabeltext.cc
 /dnsreplay
diff --git a/pdns/precursor.in b/pdns/precursor.in
deleted file mode 100755 (executable)
index dfd17a1..0000000
+++ /dev/null
@@ -1,65 +0,0 @@
-#!/bin/sh
-# chkconfig: - 80 75
-# description: pdns_recursor is a versatile high performance recursing nameserver
-
-prefix=@prefix@
-exec_prefix=@exec_prefix@
-BINARYPATH=@bindir@
-SBINARYPATH=@sbindir@
-SOCKETPATH=@socketdir@
-
-PIDFILE=@socketdir@/pdns_recursor.pid
-
-if [ -s $PIDFILE -a -d /proc/$(cat $PIDFILE) 2>/dev/null ] 
-then
-       RUNNING=1
-       PID=$(cat $PIDFILE)
-else
-       RUNNING=0
-fi
-
-
-case "$1" in
-       status)
-               if [ $RUNNING = "1" ]
-               then
-                       echo pdns_recursor is running
-               else
-                       echo pdns_recursor is not running
-               fi
-       ;;
-       
-       stop)
-               echo -n "Stopping PowerDNS recursor: "
-               if [ $RUNNING = "1" ]
-               then
-                       kill -9  $PID
-                       echo stopped
-               else
-                       echo not running
-               fi
-       ;;
-
-       start)
-               echo -n "Starting PowerDNS recursor: "
-               if [ $RUNNING = "1" ]
-               then
-                       echo already running
-               else
-                       $SBINARYPATH/pdns_recursor --daemon > /dev/null 2> /dev/null
-                       echo started
-               fi
-       ;;
-
-       restart)
-               $0 stop
-               $0 start
-       ;;
-
-       *)
-               echo unknown instruction \'$1\'
-       ;;
-
-esac
-               
-