Lircrc

Aus VDR Wiki
(Unterschied zwischen Versionen)
Wechseln zu: Navigation, Suche
K
Zeile 1: Zeile 1:
begin
+
Konfigurationsdatei von [[LIRC]].
 +
 
 +
{{Box Datei| /etc/lircrc |
 +
<pre>
 +
begin
 
     prog  = irexec
 
     prog  = irexec
 
     button = Power
 
     button = Power
Zeile 6: Zeile 10:
 
     button = 1
 
     button = 1
 
     config = if [ -n "$(pidof vdr)" ] ; then runvdr stop ; else runvdr start ; fi
 
     config = if [ -n "$(pidof vdr)" ] ; then runvdr stop ; else runvdr start ; fi
end
+
end
 
   
 
   
begin
+
begin
 
     prog  = irexec
 
     prog  = irexec
 
     button = Power
 
     button = Power
Zeile 15: Zeile 19:
 
     button = 2
 
     button = 2
 
     config = reboot
 
     config = reboot
end
+
end
 +
</pre>
 +
}}
  
 
[[Kategorie:Konfigurationsdateien]]
 
[[Kategorie:Konfigurationsdateien]]

Version vom 10. Juli 2005, 15:36 Uhr

Konfigurationsdatei von LIRC.

Datei
/etc/lircrc
begin
     prog   = irexec
     button = Power
     button = Power
     button = Power
     button = 1
     config = if [ -n "$(pidof vdr)" ] ; then runvdr stop ; else runvdr start ; fi
end
 
begin
     prog   = irexec
     button = Power
     button = Power
     button = Power
     button = 2
     config = reboot
end