Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1Q79DK-0004S8-Sb for mharc-grub-devel@gnu.org; Tue, 05 Apr 2011 12:34:46 -0400 Received: from [140.186.70.92] (port=48694 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q79DJ-0004P3-5n for grub-devel@gnu.org; Tue, 05 Apr 2011 12:34:46 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q79DI-0007vk-1l for grub-devel@gnu.org; Tue, 05 Apr 2011 12:34:45 -0400 Received: from linus.vbnet.com.br ([200.230.208.126]:48542 helo=linus-new.vbnet.com.br) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q79DF-0007u1-CQ; Tue, 05 Apr 2011 12:34:41 -0400 Received: from [192.168.2.172] (kenny.vbnet.com.br [200.230.208.19]) by linus-new.vbnet.com.br (Postfix) with ESMTP id 783028E0ADB; Tue, 5 Apr 2011 13:34:24 -0300 (BRT) Message-ID: <4D9B44CF.4030807@redepontocerto.com.br> Date: Tue, 05 Apr 2011 13:35:27 -0300 From: "gilson.santos@redepontocerto.com.br" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; pt-BR; rv:1.9.2.4) Gecko/20100608 Thunderbird/3.1 MIME-Version: 1.0 To: grub-devel@gnu.org CC: grub-devel-request@gnu.org References: <20110405160931.B5E3C9F8155@spike.embryo.com.br> In-Reply-To: <20110405160931.B5E3C9F8155@spike.embryo.com.br> Content-Type: multipart/alternative; boundary="------------090608080802030001050103" X-Embryo-MailScanner-Information: Please contact the ISP for more information X-MailScanner-ID: 783028E0ADB.0410A X-Embryo-MailScanner: Found to be clean X-Embryo-MailScanner-SpamCheck: não spam (está em uma lista branca), SpamAssassin (not cached, escore=-4.999, requerido 5, autolearn=not spam, BAYES_00 -5.00, HTML_MESSAGE 0.00) X-Embryo-MailScanner-From: gilson.santos@redepontocerto.com.br X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 200.230.208.126 Subject: Re: Grub-devel Digest, Vol 86, Issue 9 X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Apr 2011 16:34:46 -0000 This is a multi-part message in MIME format. --------------090608080802030001050103 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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, grub-devel-request@gnu.org escreveu: > 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? -- *Gilson Figueiredo* * - Projetos - * * Rede Ponto Certo* (011) 3351-2510 ramal: 12416 www.redepontocerto.com.br * gilson.santos@redepontocerto.com.br * --------------090608080802030001050103 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 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, grub-devel-request@gnu.org escreveu:
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?

--

Gilson Figueiredo

- Projetos -
Rede Ponto Certo
(011) 3351-2510 ramal: 12416
www.redepontocerto.com.br
gilson.santos@redepontocerto.com.br
--------------090608080802030001050103--