#!/bin/sh # # $FreeBSD$ # PKG_PREFIX=${PKG_PREFIX:-%%PREFIX%%} if [ "$2" != "DEINSTALL" ]; then exit 0 fi if [ -f ${PKG_PREFIX}/etc/rc.d/dnscheck-dispatcher ]; then echo '===> Stopping dnscheck dispatcher if it is running' ${PKG_PREFIX}/etc/rc.d/dnscheck-dispatcher stop >/dev/null 2>/dev/null echo '===> Removing startup script for dnscheck dispatcher' rm -f ${PKG_PREFIX}/etc/rc.d/dnscheck-dispatcher stop fi exit 0