From 8514767b365c878528c3b6d9f93aea4c67dea448 Mon Sep 17 00:00:00 2001 From: Otavio Salvador Date: Tue, 18 Sep 2007 21:42:09 -0300 Subject: 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 --- functions/defaults.sh | 13 +++++++++++++ helpers/lh_config | 20 ++++++++++++++++++++ 2 files changed, 33 insertions(+) diff --git a/functions/defaults.sh b/functions/defaults.sh index 8557226..4ed1c9f 100755 --- a/functions/defaults.sh +++ b/functions/defaults.sh @@ -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}" diff --git a/helpers/lh_config b/helpers/lh_config index d80dd9d..78604ea 100755 --- a/helpers/lh_config +++ b/helpers/lh_config @@ -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}" -- cgit v1.0