Thomas T. Veldhouse wrote:
What is the best approach to keep dhclient from overwriting /etc/resolv.conf every time it gets a new lease on an IP address?

Perhaps:

  chflags schg /etc/resolv.conf

This has been a frustrating search as Google has turned up next to nothing on the issue other than a hack into a script file which should be overwritten when world is rebuilt.

Changing /etc/dhclient.conf would not be overwritten just because you do a buildworld, but you would need to pay attention when using mergemaster.

--
-Chuck
_______________________________________________
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to