Lircrc
Aus VDR Wiki
(Unterschied zwischen Versionen)
(10 dazwischenliegende Versionen von 8 Benutzern werden nicht angezeigt) | |||
Zeile 1: | Zeile 1: | ||
+ | Konfigurationsdatei von [[LIRC]]. | ||
+ | |||
+ | {{Box Datei | [[Struktur|/etc]]/lircrc | | ||
<pre> | <pre> | ||
begin | begin | ||
− | button = | + | prog = irexec |
− | prog = irexec | + | button = Power |
− | + | button = Power | |
− | config = if [ -n "$(pidof vdr)" ] ; then | + | button = Power |
+ | button = 1 | ||
+ | config = killall -9 vdr | ||
+ | end | ||
+ | |||
+ | begin | ||
+ | prog = irexec | ||
+ | button = Power | ||
+ | button = Power | ||
+ | button = Power | ||
+ | button = 2 | ||
+ | config = if [ -n "$(pidof vdr)" ] ; then runvdr stop ; else runvdr start ; fi & | ||
end | end | ||
begin | begin | ||
− | + | prog = irexec | |
− | prog = irexec | + | button = Power |
− | + | button = Power | |
− | config = reboot | + | button = Power |
+ | button = 3 | ||
+ | config = reboot | ||
end | end | ||
</pre> | </pre> | ||
+ | }} | ||
− | [[Kategorie: | + | [[Kategorie:Konfigurationsdateien]] |
Aktuelle Version vom 13. April 2006, 19:11 Uhr
Konfigurationsdatei von LIRC.
/etc/lircrc
begin prog = irexec button = Power button = Power button = Power button = 1 config = killall -9 vdr end begin prog = irexec button = Power button = Power button = Power button = 2 config = if [ -n "$(pidof vdr)" ] ; then runvdr stop ; else runvdr start ; fi & end begin prog = irexec button = Power button = Power button = Power button = 3 config = reboot end