forked from Lainports/freebsd-ports
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)
18 lines
519 B
Bash
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
|