MFH: r470572
dns/unbound: Fix errors when unbound_conf is set PR: 228390 Approved by: maintainer <jaap NLnetLabs nl> Approved by: ports-secteam (feld)
This commit is contained in:
parent
71a10b6d02
commit
89095381f5
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/branches/2018Q2/; revision=471876
@ -23,7 +23,6 @@ rcvar=unbound_enable
|
||||
command="%%PREFIX%%/sbin/unbound"
|
||||
extra_commands="reload"
|
||||
start_precmd="start_precmd"
|
||||
reload_precmd="%%PREFIX%%/sbin/unbound-checkconf ${unbound_conf} >/dev/null"
|
||||
|
||||
load_rc_config $name
|
||||
|
||||
@ -33,6 +32,8 @@ unbound_anchorflags=${unbound_anchorflags:-""}
|
||||
unbound_conf=${unbound_conf:-"%%ETCDIR%%/unbound.conf"}
|
||||
unbound_flags=${unbound_flags:-" -c ${unbound_conf}"}
|
||||
|
||||
reload_precmd="%%PREFIX%%/sbin/unbound-checkconf ${unbound_conf} >/dev/null"
|
||||
|
||||
start_precmd()
|
||||
{
|
||||
echo -n "Obtaining a trust anchor:"
|
||||
|
Loading…
Reference in New Issue
Block a user