Re: dhclient ?ndert /etc/resolv.conf

From: Oliver Fromme <olli(at)lurza.secnetix.de>
Date: Tue, 8 Jun 2004 12:28:14 +0200 (CEST)

Christian Lackas <c.lackas(at)kfa-juelich.de> wrote:
> Michael Gusek <michael.gusek(at)web.de> [040604 20:55]:
> > die entsprechende Netzwerkarte in rc.conf auf "DHCP" setzen, und schon
> > ist man "drin". Dummerweise wird hierbei die schon vorhandene
> > /etc/resolv.conf überschrieben. Normalerweise ist das auch gewünscht
> > und sinnvoll, doch in diesem Fall find ich das nicht so toll. Gibt es
> > eine Möglichkeit, das Überschreiben zu unterbinden?
>
> dhclient(8) und dann dhclient-script(8)
>
> In der Funktion make_resolv_conf kannst du das mit dem Löschen dann ja
> einfach lassen :-).

Oder alternativ: chflags schg /etc/resolv.conf

Gruß
   Olli

-- 
Oliver Fromme, secnetix GmbH & Co KG, Oettingenstr. 2, 80538 München
Any opinions expressed in this message may be personal to the author
and may not necessarily reflect the opinions of secnetix in any way.
It's trivial to make fun of Microsoft products,
but it takes a real man to make them work,
and a God to make them do anything useful.
To Unsubscribe: send mail to majordomo(at)de.FreeBSD.org
with "unsubscribe de-bsd-questions" in the body of the message
Received on Tue 08 Jun 2004 - 12:28:30 CEST

search this site