PREUN
/bin/sh
if [ "$1" = "0" ]; then if [ -f /var/lock/subsys/pdnsd ]; then /etc/rc.d/init.d/pdnsd stop fi /sbin/chkconfig --del pdnsd fi
POSTIN
/bin/sh
/sbin/chkconfig --add pdnsd if [ -f /var/lock/subsys/pdnsd ]; then /etc/rc.d/init.d/pdnsd restart >&2 else echo "Run \"/etc/rc.d/init.d/pdnsd start\" to start pdnsd." >&2 fi