summaryrefslogtreecommitdiff
path: root/package/bind/files/named.init
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2025-01-28 12:13:10 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2025-01-28 12:13:10 +0100
commitd16d5c903772765ff3c7e457ba54e94924d80ede (patch)
tree5a2a1e4f00a8f6bd5075ce9304c89347cb7cf80b /package/bind/files/named.init
parent4ffb0b63fe28bd0d69e2a7eed31a1bedab2ebcba (diff)
bind: update to 9.18.32
Diffstat (limited to 'package/bind/files/named.init')
-rw-r--r--package/bind/files/named.init3
1 files changed, 3 insertions, 0 deletions
diff --git a/package/bind/files/named.init b/package/bind/files/named.init
index 2bc4b952d..ede96cabe 100644
--- a/package/bind/files/named.init
+++ b/package/bind/files/named.init
@@ -11,6 +11,9 @@ autostop) ;;
exec sh $0 start
;;
start)
+ if [ ! -f /etc/rndc.key ]; then
+ rndc-confgen -a 2>/dev/null
+ fi
if [ -f /etc/bind/named.conf ]; then
/usr/sbin/named -c /etc/bind/named.conf &
fi