add new options to allow support for syslinux with vesa menu

A set of new options has been add to allow the syslinux vesa menu
support to be added. Those are the new options:

 - LH_SYSLINUX_CFG: set custom syslinux configuration file
 - LH_SYSLINUX_MENU: set syslinux menu
 - LH_SYSLINUX_MENU_LIVE_ENTRY: set text to be used on the menu for
   live entries
 - LH_SYSLINUX_MENU_LIVE_FAILSAFE_ENTRY: set text to be used on the
   menu for live entries (failsafe ones)
 - LH_SYSLINUX_MENU_MEMTEST_ENTRY: set text to be used on the menu
   for memtest entry
This commit is contained in:
Otavio Salvador 2007-09-18 21:42:09 -03:00 committed by Daniel Baumann
parent 46f6fb1f4e
commit a0669384f1
2 changed files with 33 additions and 0 deletions

View File

@ -730,11 +730,24 @@ Set_defaults ()
# Setting netboot server address
LH_NET_SERVER="${LH_NET_SERVER:-192.168.1.1}"
# Setting syslinux configuration file
# LH_SYSLINUX_CFG
# Setting syslinux splash
# LH_SYSLINUX_SPLASH
LH_SYSLINUX_TIMEOUT="${LH_SYSLINUX_TIMEOUT:-0}"
# Setting syslinux menu
LH_SYSLINUX_MENU="${LH_SYSLINUX_MENU:-disabled}"
# Setting syslinux menu live entries
LH_SYSLINUX_MENU_LIVE_ENTRY="${LH_SYSLINUX_MENU_LIVE_ENTRY:-Start ${LH_ISO_APPLICATION}}"
LH_SYSLINUX_MENU_LIVE_ENTRY_FAILSAFE="${LH_SYSLINUX_MENU_LIVE_ENTRY_FAILSAFE:-${LH_SYSLINUX_MENU_LIVE_ENTRY} - Fail Safe}"
# Settings memtest menu entry
LH_SYSLINUX_MENU_MEMTEST_ENTRY="${LH_SYSLINUX_MENU_MEMTEST_ENTRY:-Memory test}"
# Setting username
LH_USERNAME="${LH_USERNAME:-user}"

View File

@ -924,6 +924,26 @@ LH_SYSLINUX_SPLASH="${LH_SYSLINUX_SPLASH}"
# (Default: 0)
LH_SYSLINUX_TIMEOUT="${LH_SYSLINUX_TIMEOUT}"
# \$LH_SYSLINUX_CFG: set custom syslinux configuration file
# (Default: empty)
LH_SYSLINUX_CFG="${LH_SYSLINUX_CFG}"
# \$LH_SYSLINUX_MENU: set syslinux menu
# (Default: ${LH_SYSLINUX_MENU})
LH_SYSLINUX_MENU="${LH_SYSLINUX_MENU}"
# \$LH_SYSLINUX_MENU_LIVE_ENTRY: set text to be used on the menu for live entries
# (Default: ${LH_SYSLINUX_MENU_LIVE_ENTRY})
LH_SYSLINUX_MENU_LIVE_ENTRY="${LH_SYSLINUX_MENU_LIVE_ENTRY}"
# \$LH_SYSLINUX_MENU_LIVE_FAILSAFE_ENTRY: set text to be used on the menu for live entries (failsafe ones)
# (Default: ${LH_SYSLINUX_MENU_LIVE_FAILSAFE_ENTRY})
LH_SYSLINUX_MENU_LIVE_FAILSAFE_ENTRY="${LH_SYSLINUX_MENU_LIVE_FAILSAFE_ENTRY}"
# \$LH_SYSLINUX_MENU_MEMTEST_ENTRY: set text to be used on the menu for memtest entry
# (Default: ${LH_SYSLINUX_MENU_MEMTEST_ENTRY})
LH_SYSLINUX_MENU_MEMTEST_ENTRY="${LH_SYSLINUX_MENU_MEMTEST_ENTRY}"
# \$LH_USERNAME: set username
# (Default: ${LH_USERNAME})
LH_USERNAME="${LH_USERNAME}"