[vdr] Running script

Wolfgang Rohdewald wolfgang at rohdewald.de
Wed Feb 18 18:22:58 CET 2009


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



More information about the vdr mailing list