if [ "$grub_platform" = "pc" ]; then menuentry $"Memory Test" --id 'memtest' { linux /boot/memtest.bin } fi if [ "$grub_platform" = "efi" ]; then
menuentry $"Memory Test (may not work with Secure Boot)" --id 'memtest' {
linux /boot/memtest.efi } fi