freebsd-ports/dns/dnscheckengine/files/pkg-deinstall.in
Ashish SHUKLA 9092473c3c DNSCheck is a program that is designed to help people check, measure and
hopefully also understand the workings of the Domain Name System. When used to
check an domain (aka zone) is submitted to DNSCheck, it will investigate the
general health by performing various tests and sanity checks.

WWW: http://dnscheck.iis.se/

PR:		ports/148370
Submitted by:	dnscheckengine-port at academ.com (Stan Barber)
Approved by:	tabthorpe (mentor)
2010-09-01 07:15:59 +00:00

20 lines
447 B
Bash

#!/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