1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-21 04:06:46 +00:00
freebsd-ports/dns/pdnsd/pkg-install
Ashish SHUKLA f7fabd7b2b - Switch to @sample
- Modernize vardir handling

PR:		203197
Submitted by:	amdmi3
2015-09-21 07:34:40 +00:00

9 lines
171 B
Bash

#!/bin/sh
PDNSDB=/var/db/pdnsd
if [ "${2}" = "POST-INSTALL" ] ; then
touch ${PDNSDB}/pdnsd.cache
chown nobody ${PDNSDB}/pdnsd.cache
chmod 640 ${PDNSDB}/pdnsd.cache
fi