Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Apr 2008 21:52:05 +0400
From:      Eygene Ryabinkin <rea-fbsd@codelabs.ru>
To:        Zaphod Beeblebrox <zbeeble@gmail.com>
Cc:        Poul-Henning Kamp <phk@phk.freebsd.dk>, freebsd-current@freebsd.org
Subject:   Re: [RFC] Automated generation of /etc/resolv.conf from the rc.d script
Message-ID:  <3BdnONI1bT08mgV1Is%2BvnPQaMNw@OG4t%2B/sM8WGI7cjjTW4/N4fcF6w>
In-Reply-To: <5f67a8c40804141044v69557b92w7db0b272d6b9b848@mail.gmail.com>
References:  <7ExUpek150AdEdP4WR1b6w@lz%2BEvuNSgXKgs9kqjMxQNA> <72123.1197626129@critter.freebsd.dk> <dEZnki0Fi32EvMrDEnqcgDeNQSc@Bbw9J2Iynx0QjNoWuQ4YSitYS3A> <5f67a8c40804141026s27672065sb11a7f327572c0f2@mail.gmail.com> <H5MGge8Nl5z81vYo/6CbS41wm2w@BBB3ZKOzjjN0cxeKaWhgH87x7VY> <5f67a8c40804141044v69557b92w7db0b272d6b9b848@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Zaphod,

Mon, Apr 14, 2008 at 01:44:53PM -0400, Zaphod Beeblebrox wrote:
> Yes... well to be more clear, the OpenBSD dhclient didn't call
> dhclient-script for the EXIT cause.  In fact, IIRC, the OpenBSD dhclient
> only called dhclient-script (which contains your code snippet) only for the
> initial setup (setting flags on the interface and such)  The dhclient-script
> included with the OpenBSD dhclient (or at least the one we use) is largely
> the same as the isc-dhclient script.  If you instrument the dhclient-script
> with some logging to check when it's called by dhclient, you may find it
> isn't called the documented number of times.

OK, will check the FreeBSD's dhclient.  Thanks!
-- 
Eygene



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3BdnONI1bT08mgV1Is%2BvnPQaMNw>