1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-04 06:15:24 +00:00
freebsd-ports/dns/pdnsd/pkg-install

10 lines
231 B
Plaintext
Raw Normal View History

#!/bin/sh
PDNSDB=/var/db/pdnsd
mkdir -p ${PDNSDB}
chown nobody ${PDNSDB}
chmod 755 ${PDNSDB}
dd if=/dev/zero of=${PDNSDB}/pdnsd.cache bs=1 count=4 >/dev/null 2>&1
chown nobody ${PDNSDB}/pdnsd.cache
chmod 640 ${PDNSDB}/pdnsd.cache