Sync with import
This commit is contained in:
parent
ffe854671a
commit
0c8963a482
28
external/bsd/dhcpcd/dist/dhcpcd.8.in
vendored
28
external/bsd/dhcpcd/dist/dhcpcd.8.in
vendored
@ -22,7 +22,7 @@
|
||||
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
.\" SUCH DAMAGE.
|
||||
.\"
|
||||
.Dd October 16, 2009
|
||||
.Dd October 25, 2009
|
||||
.Dt DHCPCD 8 SMM
|
||||
.Os
|
||||
.Sh NAME
|
||||
@ -113,16 +113,28 @@ To disable this behaviour, you can use the
|
||||
.Fl L , -noipv4ll
|
||||
option.
|
||||
.Ss Multiple interfaces
|
||||
.Nm
|
||||
can be run per interface or as a single instance to manage all interfaces.
|
||||
If a list of interfaces are given on the command line, then
|
||||
.Nm
|
||||
only works with those interfaces, otherwise
|
||||
.Nm
|
||||
discovers available interfaces.
|
||||
If link management is enabled and no interfaces are given on the command line,
|
||||
discovers available Ethernet interfaces.
|
||||
If any interface reports a working carrier then
|
||||
.Nm
|
||||
forks to the background right away.
|
||||
will try and obtain a lease before forking to the background,
|
||||
otherwise it will fork right away.
|
||||
This behaviour can be modified with the
|
||||
.Fl b , -background
|
||||
and
|
||||
.Fl w , -waitip
|
||||
options.
|
||||
.Pp
|
||||
If a single interface is given then
|
||||
.Nm
|
||||
only works for that interface and runs as a separate instance.
|
||||
The
|
||||
.Fl w , -waitip
|
||||
option is enabled in this instance to maintain compatability with older
|
||||
versions.
|
||||
.Pp
|
||||
Interfaces are preferred by carrier, DHCP lease/IPv4LL and then lowest metric.
|
||||
For systems that support route metrics, each route will be tagged with the
|
||||
@ -536,6 +548,10 @@ option described above.
|
||||
.It Pa @DBDIR@/dhcpcd\- Ns Ar interface Ns .lease
|
||||
The actual DHCP message send by the server. We use this when reading the last
|
||||
lease and use the files mtime as when it was issued.
|
||||
.It Pa /var/run/dhcpcd.pid
|
||||
Stores the PID of
|
||||
.Nm
|
||||
running on all interfaces.
|
||||
.It Pa /var/run/dhcpcd\- Ns Ar interface Ns .pid
|
||||
Stores the PID of
|
||||
.Nm
|
||||
|
3
external/bsd/dhcpcd/dist/dhcpcd.conf
vendored
3
external/bsd/dhcpcd/dist/dhcpcd.conf
vendored
@ -1,4 +1,4 @@
|
||||
# $NetBSD: dhcpcd.conf,v 1.4 2009/10/02 21:36:41 roy Exp $
|
||||
# $NetBSD: dhcpcd.conf,v 1.5 2009/10/25 23:35:41 roy Exp $
|
||||
#
|
||||
# A sample configuration for dhcpcd.
|
||||
# See dhcpcd.conf(5) for details.
|
||||
@ -12,6 +12,7 @@ hostname
|
||||
|
||||
# A list of options to request from the DHCP server.
|
||||
option domain_name_servers, domain_name, domain_search, host_name
|
||||
option classless_static_routes
|
||||
# Most distributions have NTP support.
|
||||
option ntp_servers
|
||||
# Respect the network MTU.
|
||||
|
Loading…
Reference in New Issue
Block a user