Re: How about a Start-Up Script that execute every 30 minutes for resolv.conf???

2007-01-16 Thread Jay Chandler
George Vanev wrote: If you really want to copy resolv.conf from /root to /etc every 30 min you don't need a startup script. Just add the following line in /etc/crontab: */30 * * * * rootcp /root/resolv.conf /etc/resolv.conf I don't know what exactly are you

Re: How about a Start-Up Script that execute every 30 minutes for resolv.conf???

2007-01-16 Thread [LoN]Kamikaze
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

Re: How about a Start-Up Script that execute every 30 minutes for resolv.conf???

2007-01-16 Thread Garrett Cooper
On Jan 16, 2007, at 12:36 AM, [LoN]Kamikaze wrote: 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

How about a Start-Up Script that execute every 30 minutes for resolv.conf???

2007-01-15 Thread linux quest
Dear Jay The FreeBSD Communities, Thanks for putting your time and patience to help me out. Anyway, I tried it out, both changing the rc.conf and the dhclient.conf (one at a time). After that (for both of the ways), I did manage to stop the resolv.conf from being overwritten after the PC

Re: How about a Start-Up Script that execute every 30 minutes for resolv.conf???

2007-01-15 Thread George Vanev
If you really want to copy resolv.conf from /root to /etc every 30 min you don't need a startup script. Just add the following line in /etc/crontab: */30 * * * * rootcp /root/resolv.conf /etc/resolv.conf I don't know what exactly are you trying to do, but this is