set timeout=0
if [ -n "$efi" ]; then
	menuentry "BOOT" {
		if test -f /efi/boot/boot${_SPEC_UEFI_ARCH}.efi; then
			chainloader /efi/boot/boot${_SPEC_UEFI_ARCH}.efi
		else
			echo "It seems it does not support UEFI mode."
			sleep -i 20
			configfile ${prefix}/grub.cfg;
		fi
	}
fi
if [ -n "$pc" ]; then
	menuentry "BOOT" {
		chainloader +1
	}
fi