Date: Thu, 15 Nov 2001 09:02:44 -0700 (MST) From: jhein@timing.com To: FreeBSD-gnats-submit@freebsd.org Subject: docs/32008: dhclient-script(8) error Message-ID: <200111151602.fAFG2iQ50043@brain.timing.com>
index | next in thread | raw e-mail
>Number: 32008
>Category: docs
>Synopsis: wrong path for dhclient.conf in dhclient-script(8)
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-doc
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: doc-bug
>Submitter-Id: current-users
>Arrival-Date: Thu Nov 15 08:10:02 PST 2001
>Closed-Date:
>Last-Modified:
>Originator: John Hein
>Release: both -STABLE & -CURRENT
>Organization:
Timing Solutions Corp.
>Environment:
-STABLE & -CURRENT
System: FreeBSD brain.timing.com 4.3-RELEASE-p14-TSC FreeBSD 4.3-RELEASE-p14-TSC #1: Tue Aug 28 13:44:14 MDT 2001 imp@brain.timing.com:/uv/staging/imp/FreeBSD-tsc-4/sys/compile/BRAIN i386
>Description:
Since obrien updated the paths in the dhclient-script(8) man page
(src/contrib/isc-dhcp/client/dhclient-script.8, rev 1.2,
1999/02/10 21:02:32), the path to dhclient.conf has been wrong.
It refers to /sbin/dhclient.conf but should be /etc/dhclient.conf.
Or it should just not refer to a path at all except the man page
for dhclient(8) since it can be overridden with the -cf switch
anyway.
>How-To-Repeat:
man dhclient-script
search for dhclient.conf
>Fix:
perl -pi -e 's,/sbin/dhclient.conf,/etc/dhclient.conf,g' dhclient-script.8
or even better (since you can invoke dhclient with -cf to override
the default location)...
perl -pi -e 's,/sbin/dhclient.conf,dhclient.conf,g' dhclient-script.8
>Release-Note:
>Audit-Trail:
>Unformatted:
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-doc" in the body of the message
home |
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200111151602.fAFG2iQ50043>
