Skip to content

Commit

Permalink
change order of tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Mrfai committed Jan 4, 2020
1 parent 372e8da commit 9d80476
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 @@ -61,10 +61,10 @@ menuentry "Boot OS from first partition on first disk" {
if [ "$grub_platform" = "efi" ]; then
if [ -f (hd0,gpt1)/efi/debian/grub.cfg ]; then
configfile (hd0,gpt1)/efi/debian/grub.cfg
elif [ -f (hd0,gpt2)/boot/grub/grub.cfg ]; then
configfile (hd0,gpt2)/boot/grub/grub.cfg
elif [ -f (hd1,gpt1)/efi/debian/grub.cfg ]; then
configfile (hd1,gpt1)/efi/debian/grub.cfg
elif [ -f (hd0,gpt2)/boot/grub/grub.cfg ]; then
configfile (hd0,gpt2)/boot/grub/grub.cfg
else
echo "cannot find grub.cfg"
sleep 7
Expand Down

0 comments on commit 9d80476

Please sign in to comment.