[vdr] Running script

2009-02-18 Thread JJussi
Hi!
This is maybe too simple question..

I have remote, and one of it's button is connected (in lircd.conf) to 
word 'AppExit'.
How I can connect shell script to that? What I want to do is run script what 
kills vdr-sxfe and start it again...
I know how to connect vdr-pluging to it.. But script? NO!

-- 
JJussi

___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] Running script

2009-02-18 Thread Wolfgang Rohdewald
On Mittwoch, 18. Februar 2009, JJussi wrote:
 I have remote, and one of it's button is connected (in lircd.conf) to 
 word 'AppExit'.
 How I can connect shell script to that? What I want to do is run script what 
 kills vdr-sxfe and start it again...
 I know how to connect vdr-pluging to it.. But script? NO!
 

from my /etc/lirc/lircrc:

begin
prog = irexec
button = Dose1on
config = /usr/local/bin/dose_ein 1 Speaker
end
begin
prog = irexec
button = Dose1off
config = /usr/local/bin/dose_aus 1 Speaker
end


and the running irexec daemon:

/usr/bin/irexec -d /etc/lirc/lircrc


-- 
Wolfgang

___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr