some menu improvements

This commit is contained in:
nospoonuser 2018-05-27 18:15:04 +02:00
parent 23ca8e0f03
commit 2e80137a1e
1 changed files with 17 additions and 4 deletions

View File

@ -73,10 +73,12 @@ if [ -n "$PXE_FETCH_FTP" ]; then
cat << EOF cat << EOF
label live label live
menu label ${LIVE_NAME} (fetch via ftp) menu label ${LIVE_NAME} (FTP)
kernel ../live/vmlinuz kernel ../live/vmlinuz
append initrd=../live/initrd.img boot=live fetch=${PXE_FETCH_FTP}live/filesystem.squashfs append initrd=../live/initrd.img boot=live fetch=${PXE_FETCH_FTP}live/filesystem.squashfs
TEXT HELP
Boot "${LIVE_NAME}" via ftp.
${LIVE_DESC}
EOF EOF
fi fi
@ -84,9 +86,13 @@ if [ -n "$PXE_FETCH_HTTP" ]; then
cat << EOF cat << EOF
label live label live
menu label ${LIVE_NAME} (fetch via http) menu label ${LIVE_NAME} (HTTP)
kernel ../live/vmlinuz kernel ../live/vmlinuz
append initrd=../live/initrd.img boot=live fetch=${PXE_FETCH_HTTP}live/filesystem.squashfs 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 EOF
fi fi
@ -95,9 +101,13 @@ if [ -n "$PXE_FETCH_TFTP" ]; then
cat << EOF cat << EOF
label live label live
menu label ${LIVE_NAME} (fetch via tftp) menu label ${LIVE_NAME} (TFTP)
kernel ../live/vmlinuz kernel ../live/vmlinuz
append initrd=../live/initrd.img boot=live fetch=${PXE_FETCH_TFTP}live/filesystem.squashfs 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 EOF
fi fi
@ -123,6 +133,7 @@ fi
function menuhwhead { function menuhwhead {
cat << EOF cat << EOF
menu separator
label - label -
menu label Hardware tools: menu label Hardware tools:
menu disable menu disable
@ -153,6 +164,8 @@ EOF
function menuinstallerhead { function menuinstallerhead {
cat << EOF cat << EOF
menu separator
label - label -
menu label Installer: menu label Installer:
menu disable menu disable