diff options
author | Otavio Salvador <otavio@ossystems.com.br> | 2007-09-18 21:42:09 -0300 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2011-03-09 18:22:27 +0100 |
commit | 8514767b365c878528c3b6d9f93aea4c67dea448 (patch) | |
tree | 6295cb4928b2c02a65b66b46c17c95e38471080c | |
parent | 831d9b05322fe8346f61096c4f8c5a5570fddfe4 (diff) | |
download | vyos-live-build-8514767b365c878528c3b6d9f93aea4c67dea448.tar.gz vyos-live-build-8514767b365c878528c3b6d9f93aea4c67dea448.zip |
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
-rwxr-xr-x | functions/defaults.sh | 13 | ||||
-rwxr-xr-x | helpers/lh_config | 20 |
2 files changed, 33 insertions, 0 deletions
diff --git a/functions/defaults.sh b/functions/defaults.sh index 85572268d..4ed1c9f56 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 d80dd9dc1..78604eada 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}" |