Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Jun 2012 22:31:27 -0400
From:      Glen Barber <gjb@FreeBSD.org>
To:        Benjamin Kaduk <bjk@freebsd.org>
Cc:        freebsd-doc@freebsd.org, Varuna <varuna@eudaemonicsystems.net>
Subject:   Re: man page for dhclient.conf(5) error in script location
Message-ID:  <20120620023127.GB1554@glenbarber.us>
In-Reply-To: <alpine.BSF.2.00.1206192209410.57490@freefall.freebsd.org>
References:  <20120609120028.B03851065678@hub.freebsd.org> <4FDB7404.1070703@eudaemonicsystems.net> <alpine.BSF.2.00.1206192209410.57490@freefall.freebsd.org>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
On Tue, Jun 19, 2012 at 10:12:21PM +0000, Benjamin Kaduk wrote:
> On Fri, 15 Jun 2012, Varuna wrote:
> 
> > Hello Folks,
> >
> > The man page dhclient.conf(5) under FreeBSD 8.0 has an error in the script
> > location indicated in the EXAMPLES.  The script dhclient-script is indicated to
> > be under /etc, while it is located under /sbin.
> 
> I do not believe this is an error.
> Per dhclient.conf.5, the script directive specifies a DHCP client 
> configuration script, and in the example given in the EXAMPLES section, it 
> is entirely reasonable to have a custom configuration script for that 
> interface.  In that case, the default /sbin/dhclient-script would not be 
> appropriate, and a custom version of it needed. Putting such a custom 
> configuration script in /etc is in keeping with the traditional location 
> for system configuration files.
> 

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


[-- Attachment #2 --]
-----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-----
home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120620023127.GB1554>