Re: Running script

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

 



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@xxxxxxxxxxx
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr

[Index of Archives]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Big List of Linux Books]     [Fedora Users]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux