more menu fixes

This commit is contained in:
nospoonuser 2018-05-27 18:58:59 +02:00
parent 2e80137a1e
commit d2dd6230bd
1 changed files with 9 additions and 7 deletions

View File

@ -72,25 +72,27 @@ fi
if [ -n "$PXE_FETCH_FTP" ]; then
cat << EOF
label live
label live-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.
Boot ${LIVE_NAME} via ftp.
${LIVE_DESC}
ENDTEXT
EOF
fi
if [ -n "$PXE_FETCH_HTTP" ]; then
cat << EOF
label live
label live-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.
Boot ${LIVE_NAME} via http.
${LIVE_DESC}
ENDTEXT
@ -100,12 +102,12 @@ fi
if [ -n "$PXE_FETCH_TFTP" ]; then
cat << EOF
label live
label live-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.
Boot ${LIVE_NAME} via tftp, this is the slowest option.
${DESC_LIVE}
ENDTEXT
@ -118,7 +120,7 @@ fi
if [ $num -gt 1 ];then
cat << EOF
label exit-${dist}-installer
label exit-live-menu
menu label Exit
menu exit
menu end