From: Allan L. <al...@ra...> - 2008-12-23 04:50:31
|
On Mon, Dec 22, 2008 at 07:47:35PM +0100, Juan Jose Pablos wrote: > Jason Oster escribió: > > Hi Jaun, > > > > I agree, it's a very simple script. And it might be good to document > > some issues on the wiki too. For example, it should be installed several > > minutes before the next reboot, because LiveUpdate does its thing in the > > background, after the installer exits with a successful exit code. If > > the system reboots before LiveUpdate finishes installing the virus > > definitions, you will have some real trouble. > > > > I don't know of any other way to fix that, but there you go! > > > > The only command as far as I know is this one: > ping -n 15 localhost > nul Perhaps I'm missing the context of the discussion, but does the .sleep directive work? http://unattended.sourceforge.net/apps.php Of course this just halts things for a specific length of time from what I can tell. What you probably really want is for the LiveUpdate to finish. If you had a way to tell that the live update was completed, you could write a script that would sleep for a period of time, check to see if the update was done, and if the live update was not complete it would then push itself back on the stack. Since I don't use that particular piece of software, I don't know how to tell that Live Update is complete. Is there is registry entry? If so, you could probably write some script in Perl to check. Allan. |