Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Different Menus?
2019-06-16, 13:05
Post: #1
Different Menus?
Hi there,

can I have different menus or menu items for bios pxe and uefi pxe?

TIA

Markus
Find all posts by this user
Quote this message in a reply
2019-06-16, 20:26
Post: #2
RE: Different Menus?
Yes,
use
Code:
iseq ${platform} efi && menu ..... ||
Relevant documentation ...
https://ipxe.org/cmd/iseq
https://ipxe.org/cfg/platform

iseq is the check, || at the end is important as to not cause the script to exit if it dosn't match
the platform variable contains pcbios or efi.

One other common technique is to send the platform variable to the webserver, which when the script is generated, decides which items to include.
it is also possible to use goto or other script commands instead as the example on the platform page.

Use GitHub Discussions
VRAM bin
Visit this user's website Find all posts by this user
Quote this message in a reply
2019-06-17, 06:15
Post: #3
RE: Different Menus?
Hi NiKiZe,

thanks a lot, that helped me!

Markus
Find all posts by this user
Quote this message in a reply
Post Reply 




User(s) browsing this thread: 1 Guest(s)