Lircrc

Aus VDR Wiki
Wechseln zu: Navigation, Suche

Konfigurationsdatei von LIRC.

Datei
/etc/lircrc
begin
    prog   = irexec
    button = Power
    button = Power
    button = Power
    button = 1
    config = killall -9 vdr
end

begin
    prog   = irexec
    button = Power
    button = Power
    button = Power
    button = 2
    config = if [ -n "$(pidof vdr)" ] ; then runvdr stop ; else runvdr start ; fi &
end

begin
    prog   = irexec
    button = Power
    button = Power
    button = Power
    button = 3
    config = reboot
end