man page for dhclient.conf(5) error in script location

Glen Barber gjb at FreeBSD.org
Wed Jun 20 02:31:30 UTC 2012


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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-doc/attachments/20120619/1fcb7e0b/attachment.sig>


More information about the freebsd-doc mailing list