Lircrc
Aus VDR Wiki
(Unterschied zwischen Versionen)
Zeile 1: | Zeile 1: | ||
− | + | begin | |
− | begin | + | button = Reserve_1 |
− | button = Reserve_1 | + | 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 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 |
− | end | + | |
+ | begin | ||
+ | button = Reserve_2 | ||
+ | prog = irexec | ||
+ | repeat = 0 | ||
+ | config = reboot | ||
+ | end | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
[[Kategorie:Installscript]] | [[Kategorie:Installscript]] |
Version vom 24. Dezember 2004, 21:46 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