aboutsummaryrefslogtreecommitdiffstats
path: root/dns/bind96/pkg-install
blob: fef4dba0bd3c678d1e727701fd90d5fa038e7da1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh

[ "$2" = 'POST-INSTALL' ] || exit 0

/bin/mkdir -p /var/named${PKG_PREFIX}/etc

for DIR in ${PKG_PREFIX}/etc /var/named${PKG_PREFIX}/etc; do
    for FILE in named.conf rndc.key; do
        /bin/ln -sf /etc/namedb/${FILE} ${DIR}/${FILE}
    done
done

exit 0