From: Roy Marples Date: Thu, 16 Apr 2020 22:27:47 +0000 (+0100) Subject: dhcpcd: daemomize if no valid interfaces found X-Git-Tag: v9.0.2~11 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f60d67910624bd0ef43bf7b99e7cd07090118ac0;p=thirdparty%2Fdhcpcd.git dhcpcd: daemomize if no valid interfaces found But if we're waitig for an ip address we still wait. --- diff --git a/src/dhcpcd.c b/src/dhcpcd.c index 7bf52f4f..0059f47b 100644 --- a/src/dhcpcd.c +++ b/src/dhcpcd.c @@ -2274,6 +2274,7 @@ printpidfile: loglevel = ctx.options & DHCPCD_INACTIVE ? LOG_DEBUG : LOG_ERR; logmessage(loglevel, "no valid interfaces found"); + dhcpcd_daemonise(&ctx); } else goto exit_failure; if (!(ctx.options & DHCPCD_LINK)) {