aports/main/bind/bind.post-install
Sertonix 0efcce45d2 main/bind: use relative dirs in scripts
In preperation for apk3's --force-no-chroot option
2024-04-18 18:50:45 +00:00

7 lines
198 B
Bash

#!/bin/sh
# Generate key required for reload to work -> creates /etc/bind/rndc.key
if ! [ -f etc/bind/rndc.key ]; then
rndc-confgen -a -c etc/bind/rndc.key
chown named:named etc/bind/rndc.key
fi