From 2e80137a1e68e94e9acd222c5b7ff225deffbbec Mon Sep 17 00:00:00 2001 From: nospoonuser Date: Sun, 27 May 2018 18:15:04 +0200 Subject: [PATCH] some menu improvements --- scripts/menufunction.sh | 21 +++++++++++++++++---- 1 file changed, 17 insertions(+), 4 deletions(-) diff --git a/scripts/menufunction.sh b/scripts/menufunction.sh index 343dafd..9e34523 100644 --- a/scripts/menufunction.sh +++ b/scripts/menufunction.sh @@ -73,10 +73,12 @@ if [ -n "$PXE_FETCH_FTP" ]; then cat << EOF label live -menu label ${LIVE_NAME} (fetch via ftp) +menu label ${LIVE_NAME} (FTP) kernel ../live/vmlinuz append initrd=../live/initrd.img boot=live fetch=${PXE_FETCH_FTP}live/filesystem.squashfs - +TEXT HELP +Boot "${LIVE_NAME}" via ftp. +${LIVE_DESC} EOF fi @@ -84,9 +86,13 @@ if [ -n "$PXE_FETCH_HTTP" ]; then cat << EOF label live -menu label ${LIVE_NAME} (fetch via http) +menu label ${LIVE_NAME} (HTTP) kernel ../live/vmlinuz append initrd=../live/initrd.img boot=live fetch=${PXE_FETCH_HTTP}live/filesystem.squashfs +TEXT HELP +Boot "${LIVE_NAME}" via http. +${LIVE_DESC} +ENDTEXT EOF fi @@ -95,9 +101,13 @@ if [ -n "$PXE_FETCH_TFTP" ]; then cat << EOF label live -menu label ${LIVE_NAME} (fetch via tftp) +menu label ${LIVE_NAME} (TFTP) kernel ../live/vmlinuz append initrd=../live/initrd.img boot=live fetch=${PXE_FETCH_TFTP}live/filesystem.squashfs +TEXT HELP +Boot "${LIVE_NAME}" via tftp, this is the slowest option. +${DESC_LIVE} +ENDTEXT EOF fi @@ -123,6 +133,7 @@ fi function menuhwhead { cat << EOF +menu separator label - menu label Hardware tools: menu disable @@ -153,6 +164,8 @@ EOF function menuinstallerhead { cat << EOF + +menu separator label - menu label Installer: menu disable