[RFC] Automated generation of /etc/resolv.conf from the rc.d script

Eygene Ryabinkin rea-fbsd at codelabs.ru
Mon Apr 14 17:52:12 UTC 2008


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


More information about the freebsd-current mailing list