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