From b460c43b93155254068f7da343662c6abf728e08 Mon Sep 17 00:00:00 2001 From: Chris Buechler Date: Thu, 12 May 2016 22:39:52 -0500 Subject: Don't start unbound in track6 config if system is booting. Add dnsmasq here as well. Based on PR 2943. Ticket #6186 --- src/etc/inc/interfaces.inc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/etc') diff --git a/src/etc/inc/interfaces.inc b/src/etc/inc/interfaces.inc index cefa7ab..36cb8d6 100644 --- a/src/etc/inc/interfaces.inc +++ b/src/etc/inc/interfaces.inc @@ -3553,7 +3553,7 @@ function interface_track6_configure($interface = "lan", $wancfg, $linkupevent = break; } - if ($linkupevent == false) { + if ($linkupevent == false && !platform_booting()) { if (!function_exists('services_dhcpd_configure')) { require_once("services.inc"); } @@ -3562,6 +3562,10 @@ function interface_track6_configure($interface = "lan", $wancfg, $linkupevent = services_unbound_configure(); } + if (isset($config['dnsmasq']['enable'])) { + services_dnsmasq_configure(); + } + services_dhcpd_configure("inet6"); } -- cgit v1.1