On 2002-10-08 15:51, George Vagner <[EMAIL PROTECTED]> wrote: > I am looking for a script that I can run a cron on that will > update my sources and ports, build world, kernel and install everything > without touching my network settings so i can get back in later.
I have a script in my crontab that does the following: * Create a lockfile to make sure that cron doesn't spawn the same script twice. * Check that a cvsup server is available. * Update /home/ncvs (a local CVS mirror). Find it at http://www.freebsd.org/~keramida/files/cvs-update You could probably tweak this to suit your needs, and then run a buildworld/buildkernel just before exiting. I don't recommend adding the proper shell commands to also installworld/installkernel automagically. This is asking for trouble, as someone else has already posted. The safest thing to do is probably to attempt an installworld in a "scratch area", like /usr/testworld and manually do a real installworld only if it succeeds. You could also hack something around the "make release" target, if you have enough disk space. More information on the release building process can be found at the following articles: http://www.freebsd.org/doc/en_US.ISO8859-1/articles/releng/ http://www.freebsd.org/doc/en_US.ISO8859-1/articles/releng-packages/ Giorgos. To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message