projects
/
gentoo.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
[QA] Remove executable bit from files, bug 550434.
[gentoo.git]
/
net-dns
/
bind
/
files
/
generate-rndc-key.sh
1
#!/bin/bash
2
3
if [ ! -s /etc/bind/rndc.key ]; then
4
/usr/sbin/rndc-confgen -a > /dev/null 2>&1 || exit 1
5
chmod 640 /etc/bind/rndc.key
6
chown root.named /etc/bind/rndc.key
7
fi