Lircrc

Aus VDR Wiki
(Unterschied zwischen Versionen)
Wechseln zu: Navigation, Suche
(M)
Zeile 5: Zeile 5:
 
  prog  = irexec
 
  prog  = irexec
 
  repeat = 0
 
  repeat = 0
  config = if [ -n "$(pidof vdr)" ] ; then echo "/usr/local/bin/[[installscript-runvdr|runvdr]] stop >/dev/null 2>&1" | at now >/dev/null 2>&1 ; else echo "/usr/local/bin/[[installscript-runvdr|runvdr]] start >/dev/null 2>&1" | at now >/dev/null 2>&1 ; fi
+
  config = if [ -n "$(pidof vdr)" ] ; then [[installscript-runvdr|runvdr]] stop ; else [[installscript-runvdr|runvdr]] start ; fi
 
  end
 
  end
 
   
 
   

Version vom 21. März 2005, 12:19 Uhr

Beschreibung

lircrc

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

begin
button = Reserve_2
prog   = irexec
repeat = 0
config = reboot
end