summaryrefslogtreecommitdiff
path: root/net-mgmt/wide-dhcp/files/patch-az
blob: ab04b6ed492fd213383aa1e29e3da0638abe40aa (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
--- 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,