Lircrc
Aus VDR Wiki
(Unterschied zwischen Versionen)
(M) |
(M) |
||
Zeile 2: | Zeile 2: | ||
==lircrc== | ==lircrc== | ||
begin | begin | ||
− | + | prog = irexec | |
− | + | button = Power | |
− | + | button = Power | |
− | + | button = Power | |
+ | button = 1 | ||
+ | config = if [ -n "$(pidof vdr)" ] ; then [[installscript-runvdr|runvdr]] stop ; else [[installscript-runvdr|runvdr]] start ; fi | ||
end | end | ||
begin | begin | ||
− | + | prog = irexec | |
− | + | button = Power | |
− | + | button = Power | |
− | + | 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