Mercurial > hg > dhcpcd
changeset 5148:5f4227456653 draft
dhcpcd: daemomize if no valid interfaces found
But if we're waitig for an ip address we still wait.
| author | Roy Marples <roy@marples.name> |
|---|---|
| date | Thu, 16 Apr 2020 23:27:47 +0100 |
| parents | e90134cc9520 |
| children | 8f2f891cff4c |
| files | src/dhcpcd.c |
| diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/dhcpcd.c Thu Apr 16 23:26:49 2020 +0100 +++ b/src/dhcpcd.c Thu Apr 16 23:27:47 2020 +0100 @@ -2274,6 +2274,7 @@ 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)) {
