set default=0
set timeout=30
insmod efi_gop
insmod efi_uga
insmod font

if loadfont /efi/boot/theme/unifont.pf2
then
        insmod gfxterm
        loadfont /efi/boot/theme/DejaVuSans-Bold14.pf2
        loadfont /efi/boot/theme/DejaVuSans10.pf2
        loadfont /efi/boot/theme/DejaVuSans12.pf2
        set gfxmode=1024x768
        set gfxpayload=keep
        set theme=/efi/boot/theme/theme.txt
fi
terminal_input console
terminal_output gfxterm

menuentry "Automatic Firmware Update Version Gen8.0" {
  echo "Loading kernel..."
  linux /vmlinuz media=usb root=/dev/ram0 splash quiet hp_fibre cdcache showopts TYPE=AUTOMATIC AUTOPOWEROFFONSUCCESS=no AUTOREBOOTONSUCCESS=yes
  echo "Loading initial ramdisk..."
  initrd /initrd.img
}

menuentry "Interactive Firmware Update Version Gen8.0" {
  echo "Loading kernel..."
  linux /vmlinuz media=usb root=/dev/ram0 splash quiet hp_fibre cdcache showopts TYPE=MANUAL AUTOPOWEROFFONSUCCESS=no
  echo "Loading initial ramdisk..."
  initrd /initrd.img
}

#menuentry "Automatic & POWEROFF Firmware Update Version Gen8.0" {
#  echo "Loading kernel..."
#  linux /vmlinuz media=usb root=/dev/ram0 splash quiet hp_fibre cdcache showopts TYPE=AUTOMATIC hp_poweroff
#  echo "Loading initial ramdisk..."
#  initrd /initrd.img
#}
