From: Christian Hofstaedtler Date: Tue, 15 Oct 2013 10:40:06 +0000 (+0200) Subject: Remove unused precursor init script X-Git-Tag: rec-3.6.0-rc1~407^2~3 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=65d6f73ff5a9b17575f32f68956dc538d869ea11;p=pdns Remove unused precursor init script There's another one in pdns_recursor.init.d, which is the one that's actually distributed. --- diff --git a/Makefile.am b/Makefile.am index 59002e808..82924a785 100644 --- a/Makefile.am +++ b/Makefile.am @@ -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 "***********************************************************" diff --git a/configure.ac b/configure.ac index b90c840e0..35e48c47a 100644 --- a/configure.ac +++ b/configure.ac @@ -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 \ diff --git a/pdns/.gitignore b/pdns/.gitignore index 69841d389..88b21c41b 100644 --- a/pdns/.gitignore +++ b/pdns/.gitignore @@ -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 index dfd17a174..000000000 --- a/pdns/precursor.in +++ /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 - -