From c51198361b95cb7656f829ead91be74b7fd5a483 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dag-Erling=20Sm=C3=B8rgrav?= Date: Thu, 18 Oct 2018 18:33:44 +0000 Subject: [PATCH] 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) --- libexec/rc/rc.d/local_unbound | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libexec/rc/rc.d/local_unbound b/libexec/rc/rc.d/local_unbound index fa18061473c1..0d045d918c63 100755 --- a/libexec/rc/rc.d/local_unbound +++ b/libexec/rc/rc.d/local_unbound @@ -4,7 +4,7 @@ # # PROVIDE: local_unbound -# REQUIRE: FILESYSTEMS netif resolv +# REQUIRE: FILESYSTEMS defaultroute netwait resolv # BEFORE: NETWORKING # KEYWORD: shutdown