Skip to content

Commit

Permalink
test for platform, not for grub.cfg
Browse files Browse the repository at this point in the history
  • Loading branch information
Mrfai committed Jan 1, 2020
1 parent 409a76a commit d0266c7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions conf/grub.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,8 @@ menuentry "Client standalone installation - select installation type from menu "
}

menuentry "Boot OS from first partition on first disk" {
if [ -f (hd0,gpt1)/efi/debian/grub.cfg ]; then
configfile (hd0,gpt1)/efi/debian/grub.cfg
if [ "$grub_platform" = "efi" ]; then
configfile (hd0,gpt1)/efi/debian/grub.cfg
elif [ "$root" = "hd0" ]; then
set root=(hd1)
else
Expand Down

0 comments on commit d0266c7

Please sign in to comment.