On Wed, Mar 29, 2017 at 7:35 PM, Alex x37v.alex@gmail.com wrote:
Have you tried running the script directly on your odroid to see if it outputs anything relevant?
You're calling sudo with no interaction. does sudo require a password on your odroid?
If you've started pd and jackd with the same user that runs this script you shouldn't have to call sudo. There is also a way to allow the user to call 'poweroff' but I forget how you set that up.. it might be a group that you have to be in.
Running this command enabled me to run poweroff without sudo or a password: sudo chmod a+s /sbin/poweroff Now the script runs fine without using sudo at all, thanks!