Lircrc
Aus VDR Wiki
(Unterschied zwischen Versionen)
Zeile 14: | Zeile 14: | ||
end | end | ||
</pre> | </pre> | ||
+ | |||
+ | [[Kategorie:Installscript]] |
Version vom 22. Oktober 2004, 15:40 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