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
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