diff options
author | Alexander Kanavin <alex.kanavin@gmail.com> | 2021-05-05 17:18:15 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-06-03 16:31:02 +0100 |
commit | 756a5e3d997eb8488eb7ccf02140cea4755e7c5f (patch) | |
tree | 845b4b11b6b414c8e8b61a0db482d4a2d17bdf1f /meta/recipes-connectivity/bind/bind-9.16.13/generate-rndc-key.sh | |
parent | b3f59a5592f536bd2640c7772f908cfadeceefde (diff) | |
download | poky-756a5e3d997eb8488eb7ccf02140cea4755e7c5f.tar.gz |
bind: upgrade 9.16.12 -> 9.16.13
(From OE-Core rev: 342cdbc0671cbf8a41984784db7d986086b64977)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-connectivity/bind/bind-9.16.13/generate-rndc-key.sh')
-rw-r--r-- | meta/recipes-connectivity/bind/bind-9.16.13/generate-rndc-key.sh | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/meta/recipes-connectivity/bind/bind-9.16.13/generate-rndc-key.sh b/meta/recipes-connectivity/bind/bind-9.16.13/generate-rndc-key.sh new file mode 100644 index 0000000000..633e29c0e6 --- /dev/null +++ b/meta/recipes-connectivity/bind/bind-9.16.13/generate-rndc-key.sh | |||
@@ -0,0 +1,8 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | if [ ! -s /etc/bind/rndc.key ]; then | ||
4 | echo -n "Generating /etc/bind/rndc.key:" | ||
5 | /usr/sbin/rndc-confgen -a -b 512 | ||
6 | chown root:bind /etc/bind/rndc.key | ||
7 | chmod 0640 /etc/bind/rndc.key | ||
8 | fi | ||