Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/bsd/dhcpcd/dist Sync with import
details: https://anonhg.NetBSD.org/src/rev/6403731ff13f
branches: trunk
changeset: 748501:6403731ff13f
user: roy <roy%NetBSD.org@localhost>
date: Sun Oct 25 23:35:41 2009 +0000
description:
Sync with import
diffstat:
external/bsd/dhcpcd/dist/dhcpcd.8.in | 28 ++++++++++++++++++++++------
external/bsd/dhcpcd/dist/dhcpcd.conf | 3 ++-
2 files changed, 24 insertions(+), 7 deletions(-)
diffs (74 lines):
diff -r dc41ee6bb492 -r 6403731ff13f external/bsd/dhcpcd/dist/dhcpcd.8.in
--- a/external/bsd/dhcpcd/dist/dhcpcd.8.in Sun Oct 25 23:27:30 2009 +0000
+++ b/external/bsd/dhcpcd/dist/dhcpcd.8.in Sun Oct 25 23:35:41 2009 +0000
@@ -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 @@
.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 @@
.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
diff -r dc41ee6bb492 -r 6403731ff13f external/bsd/dhcpcd/dist/dhcpcd.conf
--- a/external/bsd/dhcpcd/dist/dhcpcd.conf Sun Oct 25 23:27:30 2009 +0000
+++ b/external/bsd/dhcpcd/dist/dhcpcd.conf Sun Oct 25 23:35:41 2009 +0000
@@ -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 @@
# 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.
Home |
Main Index |
Thread Index |
Old Index