Re: dhclient trashes my resolv.conf

From: Oliver Lehmann <lehmann_at_ans-netz.de>
Date: Wed, 27 Oct 2004 23:00:39 +0200
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/
Received on Wed Oct 27 2004 - 19:00:13 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:19 UTC