Gitiles
Code Review
Sign In
gerrit.openbmc.org
/
openbmc
/
owners-plugin-test
/
1d1caeac86f4704920853f716ee022c4ee6b2f75
/
.
/
yocto-poky
/
meta
/
recipes-connectivity
/
bind
/
bind
/
generate-rndc-key.sh
blob: db201270fad9684333a18b72fb598d45f2192409 [
file
] [
log
] [
blame
]
#!/bin/sh
if
[
!
-
s
/
etc
/
bind
/
rndc
.
key
];
then
echo
-
n
"Generating /etc/bind/rndc.key:"
/
usr
/
sbin
/
rndc
-
confgen
-
a
-
b
512
-
r
/
dev
/
urandom
chmod
0640
/
etc
/
bind
/
rndc
.
key
fi