[syslinux] Ontimeout in current menu seems to not work for me

H. Peter Anvin hpa at zytor.com
Sat Sep 3 08:09:45 PDT 2005


Nazo wrote:
> Ok, this is weird.  I have no idea why, but, ontimeout seems to have
> stopped working for me.  I like the new layout with the countdown
> timer on the bottom, but, when I see the timer go down to 0, the menu
> just reloads.  I've checked and as nearly as I can tell there are no
> error in the configuration, including the label in the ontimeout
> command being typed correctly.  Just in case though, I'll post the
> configuration so maybe someone can see if I made a mistake somewhere. 
> I really don't think I did, and I had no troubles with the last
> version I was using, which I think was just the previous one right
> before this one (one somewhere around 3.10-pres to be honest.)  I like
> the new layout though, it's just, well, more comfortable is the best I
> could describe since it no longer takes up the full screen and all
> that stuff, plus the visible timer is a nice bonus.
> 

ONTIMEOUT was completely broken in menu.c32, as in, had no effect.  I 
fixed it, but a side effect of the fix that I hadn't considered in 
enough detail is that it breaks using LABEL references in ONTIMEOUT (you 
can, however, put the actual command line there; in your case "chain.c32 
hda0 2".)

The reason it "worked" for you in previous releases is that your 
ONTIMEOUT statement is completely redundant.

Again, thanks a huge friggin' lot for not testing anything until I've 
just released, even though I announced it almost a week in advance.  Sigh.

	-hpa




More information about the Syslinux mailing list