06.02.2016 06:24, Shea Levy пишет:
> Hi all,
> 
> How can I use if statements in an embedded config? When I try, I get

You can't. embedded config is processed early using rescue mode parser
which is very simple. Embedded config exists to locate device where grub
is installed in case this information is not available from firmware.
Everything else cam be done using grub.cfg in this location.

> "unknown command "if"", "unknown command "fi"", etc. I'm including
> normal, part_gpt, android_bootimg, android_bcb, linux, test, and
> biosdisk in the core.img (the android_* modules are local modifications,
> see the grub-devel list for their details but they shouldn't matter).
> 
> Thanks,
> Shea
> 
> _______________________________________________
> Help-grub mailing list
> [email protected]
> https://lists.gnu.org/mailman/listinfo/help-grub


_______________________________________________
Help-grub mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/help-grub

Reply via email to