help-grub
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Testing a key with keystatus seems to fail


From: Arbiel (gmx)
Subject: Testing a key with keystatus seems to fail
Date: Tue, 17 Nov 2015 17:54:13 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0

Hi

I'm using Grub2 (v2.00).

In a configfile'd configuration file, I've inserted the following line

    if [ keystatus --ctrl -a -f "${prefix}/greffons/menuentry.cfg" ];
then source "${prefix}/greffons/menuentry.cfg"; fi;

To my understanding, this means " if the control key is pressed down and
the requested file exists, then source the file.

grub sources the file even if the control key is not pressed down.

Can you please explain me what is wrong and what I should do ?

Thank's in advance

Arbiel


Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]