I have decided to promote SYSLINUX 3.31-pre4 to release candidate status. If it tests out OK, it will become 3.31 some time next week, probably. -hpa
On 9/23/06, H. Peter Anvin <hpa at zytor.com> wrote:> I have decided to promote SYSLINUX 3.31-pre4 to release candidate > status. If it tests out OK, it will become 3.31 some time next week, > probably.I'm testing pxelinux. I have a main config file which calls a submenu config file, which has an option to go back to the main menu; I copied the examples at the end of README.menu (LABEL othermenu, LABEL maimenu). In the main config file I have a timeout, when using keys to select the submenu the timeout stops; when I return to the main manu from the submenu the timeout restarts. Is there a way for the timeout not to be restarted once it has been stopped? Thanks -- giulioo at pobox.com
ryanm at accelrys.com
2006-Sep-23 12:16 UTC
[syslinux] SYSLINUX 3.31-pre4 is release candidate
> In the main config file I have a timeout, when using keys to select > the submenu the timeout stops; when I return to the main manu from > the submenu the timeout restarts. > > Is there a way for the timeout not to be restarted once it has been > stopped? >Just remove the timeout option from your main menu config file.
Works perfectly for me.. Below are my conf files incase anyone is interested pxelinux.cfg/default ------------------------------------------- # Default boot option to use DEFAULT vesamenu.c32 # Prompt user for selection PROMPT 0 # Menu Configuration MENU WIDTH 75 MENU MARGIN 25 MENU PASSWORDMARGIN 3 MENU ROWS 6 MENU TABMSGROW 18 MENU CMDLINEROW 18 MENU ENDROW 24 MENU PASSWORDROW 11 MENU TIMEOUTROW 20 MENU TITLE RHWS Main Menu MENU INCLUDE gfx/default # Menus LABEL x86-4 MENU LABEL ^32Bit (x86) - 4.x # MENU HIDE KERNEL vesamenu.c32 APPEND conf/x86-4.conf ------------------------------------------- conf/x86-4.conf ----------------------- # Default boot option to use DEFAULT vesamenu.c32 # Prompt user for selection PROMPT 0 # Time until default is selected TIMEOUT 100 # Menu Configuration MENU WIDTH 80 MENU MARGIN 20 MENU PASSWORDMARGIN 3 MENU ROWS 7 MENU TABMSGROW 18 MENU CMDLINEROW 18 MENU ENDROW 24 MENU PASSWORDROW 11 MENU TIMEOUTROW 20 MENU TITLE 32Bit (x86) RHWS 4.x OS Choice MENU INCLUDE gfx/default # Return to Main Menu LABEL MainMenu MENU DEFAULT MENU LABEL ^Main Menu KERNEL vesamenu.c32 # # Latest Release # LABEL latest MENU LABEL ^Latest Release KERNEL knl/vmlinuz-rhws44-x86 APPEND initrd=img/initrd-rhws44-x86.img ks=http://kickstartserver/rhws44 ----------------------------------------------------- gfx/default ---------------------------------------------------- # vesamenu Default cfg # # MENU BACKGROUND filename MENU BACKGROUND back.jpg # MENU COLOR element ansi foreground background menu color screen 37;40 #80ffffff #00000000 menu color border 30;44 #90996633 #00000000 menu color title 1;36;44 #c00090f0 #00000000 menu color unsel 37;47 #e0336699 #00000000 menu color hotkey 1;37;44 #e000ff00 #00000000 menu color sel 7;37;40 #e0ff0000 #20ff8000 menu color hotsel 1;7;37;40 #e0400000 #20ff8000 menu color scrollbar 30;44 #40000000 #00000000 menu color tabmsg 31;40 #CCFF0000 #00000000 menu color cmdmark 1;36;40 #c000ffff #00000000 menu color cmdline 37;40 #c0ffffff #00000000 menu color pwdborder 30;47 #80ffffff #20ffffff menu color pwdheader 31;47 #80ff8080 #20ffffff menu color pwdentry 30;47 #80ffffff #20ffffff menu color timeout_msg 37;40 #CCFF0000 #00000000 menu color timeout 1;37;40 #c0333999 #00000000 ---------------------------------------------- Regards, Ryan McLean
Sorry for the barage of posts but just had a small idea that would be a nice tweek more than anything Could we have an option to define the timeout msg? So instead of "Automatically Booting in XX seconds" So I could have "Returning to Main menu in XX seconds". and as a futher extension to this can we call a var that stores the default option so i could have "Installing <DEFAULT> in XX seconds" "Booting <DEFAULT> in XX seconds" where <DEFAULT> is the default boot option in that cfg file. I dont think its a feature of much use to those of us posting here, but if any of us are letting users near it i think it would be usefull for them to see what is happening so they don't panic and choose something by mistake. Regards, Ryan McLean
I assume what you want is something like: Goto main menu if (timeout == true) run cmd 1 fi if (user-select == option x ) goto menu y if (timeout == true) return to main menu Do nothing fi fi As far as i am aware it is not possible.. Regards, Ryan McLean