package pdnsd tags 628846 patch stop Here is a better script, one that doesn't assume that invoke-rc.d is present. // Thomas
#!/bin/sh
# Resolvconf dpkg event hook script for the pdnsd package
restart_pdnsd() {
if which invoke-rc.d >/dev/null 2>&1 ; then
invoke-rc.d pdnsd restart
elif [ -x /etc/init.d/pdnsd ] ; then
/etc/init.d/pdnsd restart
fi
}
case "$1" in
install) restart_pdnsd ;;
esac
dpkg-event.d-pdnsd
Description: Binary data

