Gitiles
Code Review
Sign In
gerrit.openbmc.org
/
mdmillerii
/
openbmc
/
868407c65d79e82e83c37f7c32bef9a2e2bc4cd5
/
.
/
poky
/
meta
/
recipes-connectivity
/
bind
/
bind
/
generate-rndc-key.sh
blob: ef915c0ae5a4611d72389100fc851df39afc182f [
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
chown root
:
bind
/
etc
/
bind
/
rndc
.
key
chmod
0640
/
etc
/
bind
/
rndc
.
key
fi