Date: Tue, 16 Jan 2007 09:36:52 +0100 From: "[LoN]Kamikaze" <LoN_Kamikaze@gmx.de> To: linux quest <linuxquest7570@yahoo.com>, freebsd-questions@freebsd.org Subject: Re: How about a Start-Up Script that execute every 30 minutes for resolv.conf??? Message-ID: <45AC8EA4.4010806@gmx.de> In-Reply-To: <218971.7584.qm@web59210.mail.re1.yahoo.com> References: <218971.7584.qm@web59210.mail.re1.yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?45AC8EA4.4010806>