Subject: Re: dhclient erases(!?) /etc/resolv.conf (fwd)
To: Christos Zoulas , <netbsd-help@netbsd.org>
From: Richard Rauch <rauch@rice.edu>
List: netbsd-help
Date: 04/02/2002 16:31:00
 [...]
>> * For resolv.conf in particular, on exit_with_hooks in dhclient-script:
>>
>>     if $RESOLV.static exists
>>       mv $RESOLV.static $RESOLV
>>     else if $RESOLV exists and is DHCP-generated
>>       rm $RESOLV
>
>Will not work because the scripts is not called when you kill dhclient.

Hm.  I see that I misunderstood the purpose of the
EXITHOOKS/exit_with_hooks().

So, dhclient, itself, would need to be modified?


  ``I probably don't know what I'm talking about.'' --rauch@math.rice.edu