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 "***********************************************************"
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 \
/pdns_server
/pdns_recursor
/pdnssec
-/precursor
/sdig
/dnslabeltext.cc
/dnsreplay
+++ /dev/null
-#!/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
-
-