meh, forgot the demimer ... thank you Nick.

here is the inlined patch.

$ diff -Naur dhclient.conf.5.orig dhclient.conf.5

--- dhclient.conf.5.orig        Sun Oct 14 22:01:48 2007
+++ dhclient.conf.5     Sun Oct 14 22:00:03 2007
@@ -345,19 +345,6 @@
 .Nm dhclient.conf ,
 the value that the user wishes the client configuration script to use if the
 predefined lease is used.
-.It Ic script Ar \&"script-name\&" ;
-The
-.Ic script
-statement is used to specify the pathname of the DHCP client configuration
-script.
-This script is used by the DHCP client to set each interface's initial
-configuration prior to requesting an address, to test the address once it
-has been offered, and to set the interface's final configuration once a
-lease has been acquired.
-If no lease is acquired, the script is used to test predefined leases, if
-any, and also called once if no valid lease can be identified.
-For more information, see
-.Xr dhclient.leases 5 .
 .It Ic medium Ar \&"media setup\&" ;
 The
 .Ic medium
@@ -485,6 +472,19 @@
 Whenever the client tries to renew the lease, it will use that same media type.
 The lease must expire before the client will go back to cycling through media
 types.
+.It Ic script Ar \&"script-name\&" ;
+The
+.Ic script
+statement is used to specify the pathname of the DHCP client configuration
+script.
+This script is used by the DHCP client to set each interface's initial
+configuration prior to requesting an address, to test the address once it
+has been offered, and to set the interface's final configuration once a
+lease has been acquired.
+If no lease is acquired, the script is used to test predefined leases, if
+any, and also called once if no valid lease can be identified.
+For more information, see
+.Xr dhclient.leases 5 .
 .El
 .Sh EXAMPLES
 The following configuration file is used on a laptop


On 10/15/07, Vincent GROSS <[EMAIL PROTECTED]> wrote:
> Hi folks,
>
> I found a misleading statement in dhclient.conf.5 : the description of
> the 'script' statement is in the lease declaration section, which can
> lead someone to think the script statement is a part of the static
> lease declaration.
>
> The joined gzip'ed patch fix that, but it's only a cut'n'paste at a
> more proper place.
>
> --
> Vincent GROSS
> "GUIs normally make it simple to accomplish simple actions and
> impossible to accomplish complex actions." --Doug Gwyn (22/Jun/91 in
> comp.unix.wizards)
>
>


-- 
Vincent GROSS
"GUIs normally make it simple to accomplish simple actions and
impossible to accomplish complex actions." --Doug Gwyn (22/Jun/91 in
comp.unix.wizards)

Reply via email to