freebsd-ports/dns/dnscheckengine/files/pkg-install.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

18 lines
519 B
Bash

#!/bin/sh
# $FreeBSD$
#
PKG_PREFIX=${PKG_PREFIX:-%%PREFIX%%}
if [ "$2" = "POST-INSTALL" ];then
if [ -f ${PKG_PREFIX}/etc/rc.d/dnscheck-dispatcher ]; then
echo '***Please add dns_dispatcher_enable="YES" to /etc/rc.conf to enable dnscheck-se-dispatcher to run at startup.***'
chmod +x ${PKG_PREFIX}/etc/rc.d/dnscheck-dispatcher
fi
# install a link to put the dnscheck engine into the regular $PATH for more users
ln -s ${PKG_PREFIX}/libexec/dnscheck/dnscheck ${PKG_PREFIX}/bin/dnscheckengine
fi
exit 0