mirror of
https://github.com/opnsense/src.git
synced 2026-06-11 01:30:30 -04:00
MFC: Fix post-start check when unbound.conf has moved.
On behalf of: des
Reported by: phk@
Sponsored by: Rubicon Communications, LLC ("Netgate")
(cherry picked from commit 409388cfac)
This commit is contained in:
parent
34e12e9a17
commit
c6aa83342e
1 changed files with 1 additions and 1 deletions
|
|
@ -106,7 +106,7 @@ local_unbound_poststart()
|
|||
local retry=5
|
||||
|
||||
echo -n "Waiting for nameserver to start..."
|
||||
until "${command}-control" status | grep -q "is running" ; do
|
||||
until "${command}-control" -c "${local_unbound_config}" status | grep -q "is running" ; do
|
||||
if [ $((retry -= 1)) -eq 0 ] ; then
|
||||
echo " giving up"
|
||||
return 1
|
||||
|
|
|
|||
Loading…
Reference in a new issue