alsaproblems (want it for voicecommand)
|
23rd Jan, 2014, 05:14 AM
Post: #22
|
|||
|
|||
RE: alsaproblems (want it for voicecommand)
So instead of sudo killall voicecommand you have to run sudo screen -S voicecommand -X quit if it's running in it's own screen session. (like from my startscript)
But one question: When your script ist just calling sudo voicecommand -f/root/.shutdown.conf, will it run in the background? If so, there is no need for screen. I used it, because you said that you have to keep the terminal open to keep it running. Anyhow, if you want to do exactly the same what you are doing now but within screen, just do: shutdown==sudo screen -S voicecommand -X quit && sudo screen -dmS voicecommand voicecommand -f/root/.shutdown.conf instead of shutdown==sudo killall voicecommand && sudo voicecommand -f/root/.shutdown.conf My setup: Software: XBian version: 1.0RC3 | XBMC version: 13.2 (Gotham) | Overclock settings: High Hardware: RPi model: B | Power: DUB-H7 | SD: Tanscend Class 10 | Network: Wireless |
|||
« Next Oldest | Next Newest »
|