Lircrc

Aus VDR Wiki
(Unterschied zwischen Versionen)
Wechseln zu: Navigation, Suche
(M)
 
(5 dazwischenliegende Versionen von 3 Benutzern werden nicht angezeigt)
Zeile 1: Zeile 1:
==Beschreibung==
+
Konfigurationsdatei von [[LIRC]].
==lircrc==
+
 
begin
+
{{Box Datei | [[Struktur|/etc]]/lircrc |
    prog  = irexec
+
<pre>
    button = Power
+
begin
    button = Power
+
    prog  = irexec
    button = Power
+
    button = Power
    button = 1
+
    button = Power
    config = if [ -n "$(pidof vdr)" ] ; then [[installscript-runvdr|runvdr]] stop ; else [[installscript-runvdr|runvdr]] start ; fi
+
    button = Power
end
+
    button = 1
+
    config = killall -9 vdr
begin
+
end
    prog  = irexec
+
 
    button = Power
+
begin
    button = Power
+
    prog  = irexec
    button = Power
+
    button = Power
    button = 2
+
    button = Power
    config = reboot
+
    button = Power
end
+
    button = 2
[[Kategorie:Installscript]]
+
    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
 +
</pre>
 +
}}
 +
 
 +
[[Kategorie:Konfigurationsdateien]]

Aktuelle Version vom 13. April 2006, 19:11 Uhr

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