diff options
-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 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}" |