diff --git a/files/p1/boot/grub/grub.cfg b/files/p1/boot/grub/grub.cfg index 87b2e7d..8d36791 100644 --- a/files/p1/boot/grub/grub.cfg +++ b/files/p1/boot/grub/grub.cfg @@ -93,14 +93,6 @@ if [ -s /zImage-dsm -a -s /initrd-dsm ]; then initrd /initrd-arc echo "Booting..." } - menuentry 'DSM force Reinstall' --id junior { - set_gfxpayload - echo "Loading Arc Kernel..." - linux /bzImage-arc console=${TERM} ${ARC_CMDLINE} force_junior - echo "Loading Arc Initramfs..." - initrd /initrd-arc - echo "Booting..." - } fi menuentry 'Config Mode' --id config { @@ -112,6 +104,17 @@ menuentry 'Config Mode' --id config { echo "Booting..." } +if [ -s /zImage-dsm -a -s /initrd-dsm ]; then + menuentry 'DSM force Reinstall' --id junior { + set_gfxpayload + echo "Loading Arc Kernel..." + linux /bzImage-arc console=${TERM} ${ARC_CMDLINE} force_junior + echo "Loading Arc Initramfs..." + initrd /initrd-arc + echo "Booting..." + } +fi + if [ ${vesa_mode} = 1 ]; then menuentry 'Change Vesa to Text Output' --id videomode { set vesa_mode=0