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 /functions | |
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
Diffstat (limited to 'functions')
-rwxr-xr-x | functions/defaults.sh | 13 |
1 files changed, 13 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}" |