5 # /etc/rc.d/init.d/pdnsd
7 # Starts the Proxy DNS Daemon
9 # tested on Redhat 6.1 should work on 5.0+
10 # chkconfig: 345 87 14
11 # description: Proxy DNS Daemon
14 # Source function library.
15 . /etc/rc.d/init.d/functions
17 test -x /usr/sbin/pdnsd || exit 0
22 # See how we were called.
26 echo -n 'Starting pdnsd: '
27 daemon /usr/sbin/pdnsd -d
29 [ $RETVAL -eq 0 ] && touch /var/lock/subsys/pdnsd
33 echo -n 'Shutting down pdnsd: '
36 [ $RETVAL -eq 0 ] && rm -f /var/lock/subsys/pdnsd
49 echo "Usage: /etc/rc.d/init.d/pdnsd {start|stop|status|restart|reload}"