How about a Start-Up Script that execute every 30 minutes for
resolv.conf???
Jay Chandler
chandler at chapman.edu
Tue Jan 16 08:01:05 UTC 2007
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 * * * * root cp /root/resolv.conf
> /etc/resolv.conf
>
> I don't know what exactly are you trying to do, but this is not
> quite a good decision.
>
>
Agreed-- it's a bad idea. However, if you still want to do it, throw a
-f flag after the cp just to make sure it forcibly overwrites the
resolv.conf.
--
Jay Chandler
Network Administrator, Chapman University
714.628.7249 / chandler at chapman.edu
Today's Excuse: Atilla the Hub
More information about the freebsd-questions
mailing list