Fix manual page references to omshell.
[dragonfly.git] / sbin / dhclient / client / dhclient.8.patch
1 $DragonFly: src/sbin/dhclient/client/Attic/dhclient.8.patch,v 1.2 2006/12/31 20:06:38 dillon Exp $
2 --- dhclient.8.orig     2006-12-19 11:29:36.000000000 +0100
3 +++ dhclient.8  2006-12-19 11:47:00.000000000 +0100
4 @@ -23,6 +23,10 @@
5  .\"
6  .\" $Id: dhclient.8,v 1.12.2.9 2004/09/29 23:01:46 dhankins Exp $
7  .\"
8 +.\" Portions copyright (c) 2000 David E. O'Brien.
9 +.\" All rights reserved.
10 +.\" $FreeBSD: ports/net/isc-dhcp3-server/files/patch-client::dhclient.8,v 1.3 2004/03/22 23:33:09 des Exp $
11 +.\"
12  .TH dhclient 8
13  .SH NAME
14  dhclient - Dynamic Host Configuration Protocol Client
15 @@ -33,12 +37,18 @@
16  .I port
17  ]
18  [
19 +.B -D
20 +]
21 +[
22  .B -d
23  ]
24  [
25  .B -q
26  ]
27  [
28 +.B -v
29 +]
30 +[
31  .B -1
32  ]
33  [
34 @@ -69,6 +79,10 @@
35  relay
36  ]
37  [
38 +.B -i
39 +interval
40 +]
41 +[
42  .B -n
43  ]
44  [
45 @@ -153,6 +167,15 @@
46  configuration file or on the command line, and will ignore all other
47  interfaces.
48  .PP
49 +The
50 +.B -D
51 +flag causes
52 +.B dhclient
53 +to save the script it creates for use in conjunction with
54 +.B dhclient-script
55 +in
56 +.IR /tmp.
57 +.PP
58  If the DHCP client should listen and transmit on a port other than the
59  standard (port 68), the
60  .B -p
61 @@ -176,6 +199,12 @@
62  flag, followed by the IP address to send.   This is only useful for testing,
63  and should not be expected to work in any consistent or useful way.
64  .PP
65 +On FreeBSD, dhclient can be enabled to automatically handle the
66 +link status of the network card. Normally polling is done every
67 +five seconds. The polling interval can be set using the
68 +.B -i
69 +flag, followed by the numbers of seconds. Minimum is one second.
70 +.PP
71  The DHCP client will normally run in the foreground until it has
72  configured an interface, and then will revert to running in the
73  background.   To run force dhclient to always run as a foreground
74 @@ -193,6 +222,10 @@
75  .B -q
76  flag prevents any messages other than errors from being printed to the
77  standard error descriptor.
78 +.B -v
79 +flag turns on all messages.
80 +Opposite of
81 +.B -q .
82  .PP
83  The client normally doesn't release the current lease as it is not
84  required by the DHCP protocol.  Some cable ISPs require their clients
85 @@ -235,7 +268,7 @@
86  .B -w
87  flag can be used to cause the client not to exit when it doesn't find
88  any such interfaces.   The
89 -.B omshell (8)
90 +.B omshell (1)
91  program can then be used to notify the client when a network interface
92  has been added or removed, so that the client can attempt to configure an IP
93  address on that interface.