Lircrc

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