The local_unbound service will configure and bootstrap itself, but only

if a network connection is available.  This is not an issue when running
'service local_unbound setup' interactively, but can be on a diskless
system where local_unbound self-configures on every boot.  To address
this, add explicit dependencies on netwait and defaultroute.

Submitted by:	eugen
Approved by:	re (gjb)
This commit is contained in:
Dag-Erling Smørgrav 2018-10-18 18:33:44 +00:00
parent d0d49703a5
commit c51198361b
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=339427

View file

@ -4,7 +4,7 @@
#
# PROVIDE: local_unbound
# REQUIRE: FILESYSTEMS netif resolv
# REQUIRE: FILESYSTEMS defaultroute netwait resolv
# BEFORE: NETWORKING
# KEYWORD: shutdown