summaryrefslogtreecommitdiff
path: root/dns/powerdns-devel/files/pdns.sh.sample
diff options
context:
space:
mode:
authorcvs2svn <cvs2svn@FreeBSD.org>2005-01-21 15:36:45 +0000
committercvs2svn <cvs2svn@FreeBSD.org>2005-01-21 15:36:45 +0000
commit7011c19a8c96a2f8fb7c04d61cb28cdc507584a6 (patch)
tree22c0efaf2b6bb5b461389f9bac9542c7e3a5909a /dns/powerdns-devel/files/pdns.sh.sample
parentNow buildable on 4.x, still broken on >= 5.x. (diff)
This commit was manufactured by cvs2svn to create tag 'RELEASE_4_11_0'.release/4.11.0
Notes
Notes: svn path=/head/; revision=127022 svn path=/tags/RELEASE_4_11_0/; revision=127023; tag=release/4.11.0
Diffstat (limited to 'dns/powerdns-devel/files/pdns.sh.sample')
-rw-r--r--dns/powerdns-devel/files/pdns.sh.sample31
1 files changed, 0 insertions, 31 deletions
diff --git a/dns/powerdns-devel/files/pdns.sh.sample b/dns/powerdns-devel/files/pdns.sh.sample
deleted file mode 100644
index b5899e363ee1..000000000000
--- a/dns/powerdns-devel/files/pdns.sh.sample
+++ /dev/null
@@ -1,31 +0,0 @@
-#!/bin/sh
-
-rc_file=${0##*/}
-
-PREFIX=%%PREFIX%%
-
-pdns=${PREFIX}/sbin/pdns_server
-pdnscontrol=${PREFIX}/bin/pdns_control
-pdnsrecursor=${PREFIX}/sbin/pdns_recursor
-recursorpid=/var/run/pdns_recursor.pid
-
-# start
-if [ "x$1" = "x" -o "x$1" = "xstart" ]; then
- if [ -f $pdns ]; then
- echo -n ' PowerDNS'
- if [ -f $pdnsrecursor ]; then
- rm $recursorpid >/dev/null 2>&1
- $pdnsrecursor >/dev/null 2>&1
- fi
- $pdns
- fi
-
-# stop
-elif [ "x$1" = "xstop" ]; then
- if [ -f $pdnscontrol ]; then
- $pdnscontrol quit
- fi
- if [ -r $recursorpid ]; then
- kill `cat $recursorpid` >/dev/null
- fi
-fi