From: Ben Gras Date: Tue, 31 May 2005 11:11:47 +0000 (+0000) Subject: Reverse trailer/delay order (delay first) X-Git-Tag: v3.1.0~798 X-Git-Url: http://zhaoyanbai.com/repos/icons/jhe061.png?a=commitdiff_plain;h=9e5e6e7b51e84825e9e7b4849061f2c71344b759;p=minix.git Reverse trailer/delay order (delay first) --- diff --git a/boot/bootimage.c b/boot/bootimage.c index 5498f6a10..78db1843a 100755 --- a/boot/bootimage.c +++ b/boot/bootimage.c @@ -568,14 +568,14 @@ void exec_image(char *image) } #endif - /* Run the trailer function just before starting Minix. */ - if (!run_trailer()) { errno= 0; return; } - /* Do delay if wanted. */ if((delayvalue = b_value("bootdelay")) != nil > 0) { delay(delayvalue); } + /* Run the trailer function just before starting Minix. */ + if (!run_trailer()) { errno= 0; return; } + /* Translate the boot parameters to what Minix likes best. */ if (!params2params(params, sizeof(params))) { errno= 0; return; }