mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-19 18:26:44 +02:00
7 lines
198 B
Bash
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
|