From owner-freebsd-doc@FreeBSD.ORG Wed Jun 20 02:31:30 2012 Return-Path: Delivered-To: freebsd-doc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 606D11065673 for ; Wed, 20 Jun 2012 02:31:30 +0000 (UTC) (envelope-from gjb@FreeBSD.org) Received: from glenbarber.us (onyx.glenbarber.us [199.48.134.227]) by mx1.freebsd.org (Postfix) with SMTP id 1E0828FC0A for ; Wed, 20 Jun 2012 02:31:30 +0000 (UTC) Received: (qmail 40187 invoked by uid 0); 19 Jun 2012 22:31:29 -0400 Received: from unknown (HELO glenbarber.us) (75.97.141.105) by 0 with SMTP; 19 Jun 2012 22:31:29 -0400 Date: Tue, 19 Jun 2012 22:31:27 -0400 From: Glen Barber To: Benjamin Kaduk Message-ID: <20120620023127.GB1554@glenbarber.us> References: <20120609120028.B03851065678@hub.freebsd.org> <4FDB7404.1070703@eudaemonicsystems.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="GRPZ8SYKNexpdSJ7" Content-Disposition: inline In-Reply-To: X-Operating-System: FreeBSD 10.0-CURRENT amd64 User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-doc@freebsd.org, Varuna Subject: Re: man page for dhclient.conf(5) error in script location X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Jun 2012 02:31:30 -0000 --GRPZ8SYKNexpdSJ7 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Jun 19, 2012 at 10:12:21PM +0000, Benjamin Kaduk wrote: > On Fri, 15 Jun 2012, Varuna wrote: >=20 > > Hello Folks, > > > > The man page dhclient.conf(5) under FreeBSD 8.0 has an error in the scr= ipt > > location indicated in the EXAMPLES. The script dhclient-script is indi= cated to > > be under /etc, while it is located under /sbin. >=20 > I do not believe this is an error. > Per dhclient.conf.5, the script directive specifies a DHCP client=20 > configuration script, and in the example given in the EXAMPLES section, i= t=20 > is entirely reasonable to have a custom configuration script for that=20 > interface. In that case, the default /sbin/dhclient-script would not be= =20 > appropriate, and a custom version of it needed. Putting such a custom=20 > configuration script in /etc is in keeping with the traditional location= =20 > for system configuration files. >=20 I personally feel it should be made more clear in the dhclient.conf(5) manual, maybe by a comment in the sample configuration? Alternatively, it can be updated to /usr/local/etc (for example), but that assumes /usr and its children filessytems are available and mounted at the time the script is run. Glen --GRPZ8SYKNexpdSJ7 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iQEcBAEBCAAGBQJP4TX/AAoJEFJPDDeguUajdRAIALtib0yDkpcOD2XIazVnIv78 WT3Hl3Dv9K54Ac59dUMo1QlcMi716Acnit+hSJ4RjICbgEPMy2tLnCvG/tl6qP8n jGJhL81SXniQab0yjzl7RgxRZ42s5gSIGtiwSZzF+/gknVSRBuZ0ZZbb65f2zSws kCrZh7RO8MzRiUin3LbC1VbhEAU9oEE0hmugz4SDXKMLFyscQ1CcC8cEva7NEKsa E4itWr1zy1HT3TJP/2C5kzx13M+Ks7ZMhWpyEuqSkMyf7/UcKWkQyV2nHyPbRzf6 AYDDxU7YfhUOreecXBetxay5wwsKiM7L2cOlDz9ZO1gSzpDTc1t582upY0a/niE= =5tgj -----END PGP SIGNATURE----- --GRPZ8SYKNexpdSJ7--