Forum
[SOLVED] irexec works only one times - Printable Version

+- Forum (http://forum.xbian.org)
+-- Forum: Hardware (/forum-7.html)
+--- Forum: Remotes and CEC support (/forum-26.html)
+--- Thread: [SOLVED] irexec works only one times (/thread-806.html)



irexec works only one times - kraleksandr - 18th Apr, 2013 03:17 PM

"irexec -d" works only one times. If I want execute mapped comand again, I must execute irexec -d again. Why?
Terminal
xbian@xbian ~ $ cat .lircrc
begin
prog = irexec
button = key_open/close
config = sudo /home/xbian/irrestart.sh &
end
xbian@xbian ~ $ cat irrestart.sh
#!/bin/bash
service lirc stop
sleep 3
service lirc start



RE: irexec works only one times - CurlyMo - 18th Apr, 2013 05:06 PM

Can you move the .lircrc to /etc/lirc and call it lircrc


RE: irexec works only one times - kraleksandr - 18th Apr, 2013 05:46 PM

solved, thanks