From: Roy Marples Date: Sat, 21 Sep 2013 19:50:49 +0000 (+0000) Subject: Clarify the timeout behaviour if in master mode or per interface. X-Git-Tag: v6.2.0~72 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b58bf81f533d26bd3ff2bdc5018a12697d3e8a94;p=thirdparty%2Fdhcpcd.git Clarify the timeout behaviour if in master mode or per interface. --- diff --git a/dhcpcd.8.in b/dhcpcd.8.in index 0bdbc3ff..8edd662b 100644 --- a/dhcpcd.8.in +++ b/dhcpcd.8.in @@ -407,6 +407,17 @@ A setting of 0 causes .Nm to wait forever to get a lease. +If +.Nm +is working on a single interface then +.Nm +will exit when a timeout occurs, otherwise +.Nm +will fork into the background. +If using IPv4LL then +.Nm +start the IPv4LL process after the timeout and then wait a little longer +before really timing out. .It Fl u , Fl Fl userclass Ar class Tags the DHCP message with the userclass .Ar class . diff --git a/dhcpcd.conf.5.in b/dhcpcd.conf.5.in index 9f6e083e..84e7c03f 100644 --- a/dhcpcd.conf.5.in +++ b/dhcpcd.conf.5.in @@ -388,13 +388,25 @@ into the value. .D1 static ip_address= .D1 destination routers .It Ic timeout Ar seconds -The default timeout for waiting for a DHCP response is 30 seconds which may -be too long or too short and can be changed here. +Timeout after +.Ar seconds , +instead of the default 30. A setting of 0 .Ar seconds causes .Nm dhcpcd to wait forever to get a lease. +If +.Nm dhcpcd +is working on a single interface then +.Nm dhcpcd +will exit when a timeout occurs, otherwise +.Nm dhcpcd +will fork into the background. +If using IPv4LL then +.Nm dhcpcd +start the IPv4LL process after the timeout and then wait a little longer +before really timing out. .It Ic userclass Ar string Tag the DHCP messages with the userclass. You can specify more than one.