From: Shawn Routhier Date: Tue, 5 Apr 2016 02:32:41 +0000 (-0700) Subject: [v4_1_esv] Add description of prepending the universe name to environment variables X-Git-Tag: v4_1_esv_r14b1~22 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=53e6a74c5d8a5ccaa95f8009e0d3deba6e52ccf3;p=thirdparty%2Fdhcp.git [v4_1_esv] Add description of prepending the universe name to environment variables --- diff --git a/client/dhclient-script.8 b/client/dhclient-script.8 index 16135d447..80090ece4 100644 --- a/client/dhclient-script.8 +++ b/client/dhclient-script.8 @@ -1,6 +1,6 @@ .\" dhclient-script.8 .\" -.\" Copyright (c) 2012,2014 by Internet Systems Consortium, Inc. ("ISC") +.\" Copyright (c) 2012,2014,2016 by Internet Systems Consortium, Inc. ("ISC") .\" Copyright (c) 2009-2010 by Internet Systems Consortium, Inc. ("ISC") .\" Copyright (c) 2004-2005 by Internet Systems Consortium, Inc. ("ISC") .\" Copyright (c) 1996-2003 by Internet Software Consortium @@ -123,10 +123,12 @@ options acquired from the server are passed using the option name described in \fBdhcp-options\fR, except that dashes (\'-\') are replaced by underscores (\'_\') in order to make valid shell variables, and the variable names start with new_. So for example, the new subnet mask -would be passed in $new_subnet_mask. The options that the client +would be passed in $new_subnet_mask. Options from a non-default +universe will have the universe name prepended to the option name, for +example new_dhcp6_server_id. The options that the client explicitly requested via a PRL or ORO option are passed with the same option name as above but prepended with requested_ and with a value of 1, -or example requested_subnet_mask=1. No such variable is defined for +for example requested_subnet_mask=1. No such variable is defined for options not requested by the client or options that don't require a request option, such as the ip address (*_ip_address) or expiration time (*_expiry).