[syslinux] SYSLINUX 3.31 released

Ryan McLean ryanm at accelrys.com
Wed Sep 27 09:10:15 PDT 2006


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.

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




More information about the Syslinux mailing list