summaryrefslogblamecommitdiff
path: root/net/pdnsd/pkg-install
blob: d852250d83d1c5f505b34de49c4fa9fed6608143 (plain) (tree)
1
2
3
4
5
6
7
8
9








                                                                     
#!/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