From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1SN2z1-0007SI-Tp for mharc-grub-devel@gnu.org; Wed, 25 Apr 2012 10:14:15 -0400 Received: from eggs.gnu.org ([208.118.235.92]:45362) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SN2yN-0004z2-VJ for grub-devel@gnu.org; Wed, 25 Apr 2012 10:14:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SN2ic-0001OZ-Ky for grub-devel@gnu.org; Wed, 25 Apr 2012 09:57:37 -0400 Received: from smtprelay06.ispgateway.de ([80.67.31.104]:37591) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SN2ic-0001Nf-Au for grub-devel@gnu.org; Wed, 25 Apr 2012 09:57:18 -0400 Received: from [88.67.16.117] (helo=[192.168.1.11]) by smtprelay06.ispgateway.de with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.68) (envelope-from ) id 1SN1FZ-0007f4-Lr for grub-devel@gnu.org; Wed, 25 Apr 2012 14:23:14 +0200 Message-ID: <4F97ECBF.6010500@jomammele.de> Date: Wed, 25 Apr 2012 14:23:27 +0200 From: Joachim Mammele User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:11.0) Gecko/20120327 Thunderbird/11.0.1 MIME-Version: 1.0 To: The development of GNU GRUB Subject: Re: using a new grub command References: <4F97C800.5000307@jomammele.de> <4F97CAA3.6010100@gmail.com> In-Reply-To: <4F97CAA3.6010100@gmail.com> Content-Type: multipart/alternative; boundary="------------050309050109000004000803" X-Df-Sender: bWFpbEBqb21hbW1lbGUuZGU= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 80.67.31.104 X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.14 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: Wed, 25 Apr 2012 14:14:14 -0000 This is a multi-part message in MIME format. --------------050309050109000004000803 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Thank you. With this I want to assign the value that was returned by checkfrontkeys to checkfrontkeysresult in order to echo it in the next line (and later on work with in doing some if(checkfrontkeysresult == "0x12")... And what do I need to change in grub.cfg in order to call hello. Would the command "hello" be enough or do I need also a "insmod hello"? Am 25.04.2012 11:57, schrieb Vladimir '?-coder/phcoder' Serbinenko: > On 25.04.2012 11:46, Joachim Mammele wrote: >> checkfrontkeysresult = checkfrontkeys; > There is no such syntax in neither bash nor GRUB > Look at hello.c as to how make a command. > > > > _______________________________________________ > Grub-devel mailing list > Grub-devel@gnu.org > https://lists.gnu.org/mailman/listinfo/grub-devel -- Joachim Mammele Egelhaafstrasse 3 70565 Stuttgart Mobil: 0162/4603792 E-Mail: mail@jomammele.de --------------050309050109000004000803 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Thank you.

With this I want to assign the value that was returned by checkfrontkeys to checkfrontkeysresult in order to echo it in the next line (and later on work with in doing some if(checkfrontkeysresult == "0x12")...
And what do I need to change in grub.cfg in order to call hello.
Would the command "hello" be enough or do I need also a "insmod hello"?


Am 25.04.2012 11:57, schrieb Vladimir 'φ-coder/phcoder' Serbinenko:
On 25.04.2012 11:46, Joachim Mammele wrote:
checkfrontkeysresult = checkfrontkeys;
There is no such syntax in neither bash nor GRUB
Look at hello.c as to how make a command.



_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/grub-devel


-- 
Joachim Mammele
Egelhaafstrasse 3
70565 Stuttgart
Mobil: 0162/4603792
E-Mail: mail@jomammele.de
--------------050309050109000004000803--