On E2 it is simple, and it work!
Code
rm -fr /tmp/yesno
wget -O /dev/null -q "http://localhost/web/message?text=Do+you+want?&type=0&timeout=0"
while [ ! -f /tmp/yesno ] 2> /dev/null
do
sleep 2
done
YES_OR_NO=`cat /tmp/yesno`
if [ "$YES_OR_NO" == "yes" ];then
echo -e "Clint chose YES buttion!"
else
echo -e "Clint chose NO buttion!"
fi
rm -fr /tmp/yesno
Alles anzeigen
How to do the same on Enigma 1?
I try with:
but it won't work. There is no YES/NO buttion neither yesno file in temp folder.
I can not find on google nothing about this.
Any help will be appreciate!