Lircrc

Aus VDR Wiki
(Unterschied zwischen Versionen)
Wechseln zu: Navigation, Suche
Zeile 14: Zeile 14:
 
end
 
end
 
</pre>
 
</pre>
 
 
[[Kategorie:Installscript]]
 
[[Kategorie:Installscript]]

Version vom 27. Oktober 2004, 00:12 Uhr

begin
button = Reserve_1
prog   = irexec
repeat = 0
config = if [ -n "$(pidof vdr)" ] ; then echo "/usr/local/bin/runvdr stop >/dev/null 2>&1" | at now >/dev/null 2>&1 ; else echo "/usr/local/bin/runvdr start >/dev/null 2>&1" | at now >/dev/null 2>&1 ; fi
end

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