Date: Wed, 27 Oct 2004 23:00:39 +0200 From: Oliver Lehmann <lehmann@ans-netz.de> To: Gregory Neil Shapiro <gshapiro@freebsd.org> Cc: mbr@freebsd.org Subject: Re: dhclient trashes my resolv.conf Message-ID: <20041027230039.7a5d0150.lehmann@ans-netz.de> In-Reply-To: <20041027204852.GY95878@horsey.gshapiro.net> References: <20041027224512.2e3b2ae8.lehmann@ans-netz.de> <20041027204852.GY95878@horsey.gshapiro.net>
next in thread | previous in thread | raw e-mail | index | archive | help
Gregory Neil Shapiro wrote:
> Putting this in /etc/dhclient-enter-hooks should prevent any resolv.conf
> changes:
>
> !/bin/sh
>
> # Don't replace /etc/resolv.conf
> make_resolv_conf() {
> }
that looks more like a hack than a clear solution (and I didn't tested it)
--
Oliver Lehmann
http://www.pofo.de/
http://wishlist.ans-netz.de/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041027230039.7a5d0150.lehmann>
