Lircrc

Aus VDR Wiki
(Unterschied zwischen Versionen)
Wechseln zu: Navigation, Suche
(M)
(M)
Zeile 2: Zeile 2:
 
==lircrc==
 
==lircrc==
 
  begin
 
  begin
button = Reserve_1
+
    prog  = irexec
prog  = irexec
+
    button = Power
repeat = 0
+
    button = Power
config = if [ -n "$(pidof vdr)" ] ; then [[installscript-runvdr|runvdr]] stop ; else [[installscript-runvdr|runvdr]] start ; fi
+
    button = Power
 +
    button = 1
 +
    config = if [ -n "$(pidof vdr)" ] ; then [[installscript-runvdr|runvdr]] stop ; else [[installscript-runvdr|runvdr]] start ; fi
 
  end
 
  end
 
   
 
   
 
  begin
 
  begin
button = Reserve_2
+
    prog  = irexec
prog  = irexec
+
    button = Power
repeat = 0
+
    button = Power
config = reboot
+
    button = Power
 +
    button = 2
 +
    config = reboot
 
  end
 
  end
 
 
[[Kategorie:Installscript]]
 
[[Kategorie:Installscript]]

Version vom 21. März 2005, 17:25 Uhr

Beschreibung

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