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