[gPXE] Setting delay time to boot

Piotr Jaroszyński p.jaroszynski at gmail.com
Sun Mar 28 05:55:10 EDT 2010


On 28 March 2010 11:42, Jonathan Andrews <jon at jonshouse.co.uk> wrote:
> In that case could not waitfor simply be a macro within gpxe as all the
> underlying functions would be in the codebase ? :-D

I think the idea is to just keep trying what you want to accomplish
instead of doing some additional check to see whether the server is up
at all.

> I prefer readable simple functions, the "chain" in the above code does
> not seem obvious or friendly, also I cant even see how that loop escapes
> - to me it reads as stuck as "goto" is not conditional?

Chain is like exec(), it doesn't return if successful.

-- 
Best Regards
Piotr Jaroszyński


More information about the gPXE mailing list