1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-01 22:05:08 +00:00
freebsd-ports/net-mgmt/wide-dhcp/files/patch-az
1999-02-07 19:46:13 +00:00

54 lines
1.3 KiB
Plaintext

--- client/dhcpc.8.orig Sat Jan 9 20:54:01 1999
+++ client/dhcpc.8 Sun Feb 7 11:27:29 1999
@@ -5,7 +5,7 @@
.SH SYNOPSIS
.B dhcpc
[
-.B \-d
+.B \-drn
]
.I interface
.SH DESCRIPTION
@@ -26,7 +26,7 @@
requests server to assign the same address as before.
To get the same address,
.B dhcpc
-creates file named /etc/dhcpc_cache.interface
+creates file named /var/db/dhcpc_cache.interface
(or /var/db/dhcpc_cache.interface for BSD/OS and FreeBSD). This
file name could be configured when it is compiled. But it is required
that the file must remains after the host reboot. For example, the
@@ -38,6 +38,21 @@
.B dhcpc
runs in foreground and debugging mode.
.LP
+If the
+.B \-r
+option is specified, and if your DHCP server supplies the DNS address,
+.B dhcpc
+overwrites "/etc/resolv.conf" with supplied address.
+.LP
+If the
+.B \-n
+option is specified, and if your DHCP server supplies the hostname of
+the client,
+.B dhcpc
+call
+.B sethostname(3)
+with supplied name.
+.LP
The DHCP client can verify whether its assigned information is still
valid at any time.
.B dhcpc
@@ -70,6 +85,10 @@
.TP
.B /etc/dhcpc_cache.interface
The file to record previously assigned informations (for others)
+.TP
+.B /var/run/dhcpc.[interface name].pid
+File which includes process ID
+.PD
.PD
.SH SEE ALSO
R. Droms,