#!/bin/sh
# pdns This is controller stript for PowerDNS name server.
#
-# chkconfig: 345 80 75
+# chkconfig: 345 85 15
#
# description: pdns is is a Domain Name Server (DNS) \
# that is used to resolve host names to IP addresses.
pdns_server="/usr/sbin/pdns_server $EXTRAOPTS"
doPC() {
- ret=$(/usr/sbin/pdns_control $EXTRAOPTS $1 $2 2> /dev/null)
+ ret=$(/usr/bin/pdns_control $EXTRAOPTS $1 $2 2> /dev/null)
}
doPC ping