summaryrefslogtreecommitdiffstats
path: root/net-mgmt/wide-dhcp/files/patch-az
blob: 9685efd580ee8ba140c8f5c8f9ec420867df6881 (plain)
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
54
55
--- client/dhcpc.8.orig	Mon Sep 11 21:54:16 1995
+++ client/dhcpc.8	Sun Oct  5 21:59:07 1997
@@ -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/dhcp_cache".  This file name could be
+creates file named "/var/db/dhcp_cache".  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 /tmp directory is not
 appropriate for this purpose.
@@ -37,6 +37,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
@@ -64,8 +79,11 @@
 .SH FILES
 .PD 0
 .TP 20
-.B /etc/dhcp_cache
+.B /var/db/dhcp_cache
 The file to record previously assigned informations
+.TP
+.B /var/run/dhcpc.[interface name].pid
+File which includes process ID
 .PD
 .SH SEE ALSO
 R. Droms,
OpenPOWER on IntegriCloud