Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Jul 1999 09:47:13 -0700
From:      Jason Liao <Jason@Liao.com>
To:        Mikhail Teterin <mi@aldan.algebra.com>
Cc:        questions@FreeBSD.ORG
Subject:   Re: how to stop dhclient from overwriting resolv.conf
Message-ID:  <378B6D91.2981B441@Liao.com>
References:  <199907130337.XAA21190@guest.newton>

next in thread | previous in thread | raw e-mail | index | archive | help
I just create an exit hook script  /etc/dhclient-exit-hooks, which
contains a single line:

cp -f /etc/resolv.conf.keep /etc/resolv.conf

Here /etc/resolv.conf.keep is a copy of my original resolv.conf file.

Cheers,

-- 
   \\\\|||////  \    Jason Liao     
   \  ~   ~  /   \    mailto:Jason@Liao.COM
   | [@]~[@] |    \    fax: 1-603-843-1662
   |    |    |     \    Do you see what I see?
oOo----(O)----oOo---\--------------------------------

Mikhail Teterin wrote:
> 
> Can't find this the FM-pages. Any hints? Thanks!
> 
>         -mi
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?378B6D91.2981B441>