Forum

Full Version: irexec works only one times
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
"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
Can you move the .lircrc to /etc/lirc and call it lircrc
solved, thanks
Reference URL's