How about a Start-Up Script that execute every 30 minutes for
resolv.conf???
[LoN]Kamikaze
LoN_Kamikaze at gmx.de
Tue Jan 16 08:35:50 UTC 2007
linux quest wrote:
> Since, I desperately needed to connect to the Internet at this point of
> time, I create a file called resolv.conf in /root ... I am thinking how
> can I create a script so that it can copy resolv.conf from /root to
> /etc/resolv.conf every 30 minutes at start up - This is because I don't
> wanna manually type in "cp /root/resolv.conf /etc/resolv.conf" every 30
> minutes.
http://www.freebsd.org/cgi/query-pr.cgi?pr=106902
The suggested script allows you to set your nameservers in rc.conf. I seriously doubt you need to do that every 30 minutes. It should be enought to write it on startup, so give it a try.
More information about the freebsd-questions
mailing list