[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
signature.asc
Description: OpenPGP digital signature
- Testing a key with keystatus seems to fail,
Arbiel (gmx) <=