Skip to contentSkip to conversation

Grub-devel Digest, Vol 86, Issue 9

DISCUSSION [email protected] 2 participants 2 messages Apr 5, 2011

lore
Share & tools
lore
#0 lore raw

Ok, Collin

So a think in use "lspci" because my two motherboard is not equal, the chipset and video card is different, but i think to use "lswh" i not shure about it works, in GRUB legancy i not see any commands for help with to create a performs conditions

Em 5/4/2011 13:01, [email protected] escreveu:

Quoted 7 lines

No, bash is not available in GRUB. However, the GRUB command line has a syntax quite similar to bash, and you can use it to perform conditional operations.

At present, though, I don't think there's a way to use PCI configuration information in a GRUB script condition. Perhaps there's something else you can base the decision on?

#1 lore raw
Quoted 7 lines · On 05.04.2011 18:39, [email protected] wrote:

Ok, Collin

So a think in use "lspci" because my two motherboard is not equal, the chipset and video card is different, but i think to use "lswh" i not shure about it works, in GRUB legancy i not see any commands for help with to create a performs conditions

Please don't double post. It only decreases the chances of receiving answer.

Signature · 2 lines
Regards
Vladimir 'φ-coder/phcoder' Serbinenko