mirror of
https://github.com/opnsense/src.git
synced 2026-06-11 09:41:03 -04:00
s/named_confidr/named_confdir/ in the rndc.key check. The line in
the command to create it was right, but the check was wrong, so it was getting created every time. Mea culpa. Submitted by: oliver
This commit is contained in:
parent
93d8be03d9
commit
1323e3dbec
1 changed files with 2 additions and 2 deletions
|
|
@ -183,8 +183,8 @@ named_prestart()
|
|||
if [ -s "${named_confdir}/rndc.conf" ]; then
|
||||
unset confgen_command
|
||||
fi
|
||||
if [ -s "${named_confidr}/rndc.key" ]; then
|
||||
case `stat -f%Su ${named_confidr}/rndc.key` in
|
||||
if [ -s "${named_confdir}/rndc.key" ]; then
|
||||
case `stat -f%Su ${named_confdir}/rndc.key` in
|
||||
root|$named_uid) ;;
|
||||
*) $confgen_command ;;
|
||||
esac
|
||||
|
|
|
|||
Loading…
Reference in a new issue