Deleted Added
full compact
dhclient-script.8 (212253) dhclient-script.8 (229778)
1.\" $OpenBSD: dhclient-script.8,v 1.2 2004/04/09 18:30:15 jmc Exp $
2.\"
3.\" Copyright (c) 1997 The Internet Software Consortium.
4.\" All rights reserved.
5.\"
6.\" Redistribution and use in source and binary forms, with or without
7.\" modification, are permitted provided that the following conditions
8.\" are met:

--- 22 unchanged lines hidden (view full) ---

31.\" SUCH DAMAGE.
32.\"
33.\" This software has been written for the Internet Software Consortium
34.\" by Ted Lemon <mellon@fugue.com> in cooperation with Vixie
35.\" Enterprises. To learn more about the Internet Software Consortium,
36.\" see ``http://www.isc.org/isc''. To learn more about Vixie
37.\" Enterprises, see ``http://www.vix.com''.
38.\"
1.\" $OpenBSD: dhclient-script.8,v 1.2 2004/04/09 18:30:15 jmc Exp $
2.\"
3.\" Copyright (c) 1997 The Internet Software Consortium.
4.\" All rights reserved.
5.\"
6.\" Redistribution and use in source and binary forms, with or without
7.\" modification, are permitted provided that the following conditions
8.\" are met:

--- 22 unchanged lines hidden (view full) ---

31.\" SUCH DAMAGE.
32.\"
33.\" This software has been written for the Internet Software Consortium
34.\" by Ted Lemon <mellon@fugue.com> in cooperation with Vixie
35.\" Enterprises. To learn more about the Internet Software Consortium,
36.\" see ``http://www.isc.org/isc''. To learn more about Vixie
37.\" Enterprises, see ``http://www.vix.com''.
38.\"
39.\" $FreeBSD: head/sbin/dhclient/dhclient-script.8 212253 2010-09-06 09:59:10Z brian $
39.\" $FreeBSD: head/sbin/dhclient/dhclient-script.8 229778 2012-01-07 16:09:33Z uqs $
40.\"
41.Dd September 6, 2010
42.Dt DHCLIENT-SCRIPT 8
43.Os
44.Sh NAME
45.Nm dhclient-script
46.Nd DHCP client network configuration script
47.Sh DESCRIPTION

--- 179 unchanged lines hidden (view full) ---

227.Pq see Xr sh 1 .
228After taking action according to
229.Va $reason ,
230.Nm
231will check for the existence of
232.Pa /etc/dhclient-exit-hooks .
233If found, it will be sourced
234.Pq see Xr sh 1 .
40.\"
41.Dd September 6, 2010
42.Dt DHCLIENT-SCRIPT 8
43.Os
44.Sh NAME
45.Nm dhclient-script
46.Nd DHCP client network configuration script
47.Sh DESCRIPTION

--- 179 unchanged lines hidden (view full) ---

227.Pq see Xr sh 1 .
228After taking action according to
229.Va $reason ,
230.Nm
231will check for the existence of
232.Pa /etc/dhclient-exit-hooks .
233If found, it will be sourced
234.Pq see Xr sh 1 .
235These hooks scripts can be used to dynamically modify the enviornment at
235These hooks scripts can be used to dynamically modify the environment at
236appropriate times during the DHCP negotiations.
237For example, if the administrator wishes to disable alias IP numbers on
238the DHCP interface, they might want to put the following in
239.Pa /etc/dhclient-enter-hooks :
240.Bd -literal -offset indent
241[ ."$reason" = .PREINIT ] && ifconfig $interface 0.0.0.0
242.Ed
243.Pp

--- 54 unchanged lines hidden ---
236appropriate times during the DHCP negotiations.
237For example, if the administrator wishes to disable alias IP numbers on
238the DHCP interface, they might want to put the following in
239.Pa /etc/dhclient-enter-hooks :
240.Bd -literal -offset indent
241[ ."$reason" = .PREINIT ] && ifconfig $interface 0.0.0.0
242.Ed
243.Pp

--- 54 unchanged lines hidden ---