#!/bin/sh PDNSDB=/var/db/pdnsd mkdir -p ${PDNSDB} chown nobody ${PDNSDB} chmod 755 ${PDNSDB} truncate -s 4 ${PDNSDB} chown nobody ${PDNSDB}/pdnsd.cache chmod 640 ${PDNSDB}/pdnsd.cache