<div dir="ltr">I'm trying to shut down my Odroid-U3 by running a script through [shell].<div>It's very likely that my approach is not good, but here's what I'm doing:</div><div><br></div><div>I've created a directory /etc/my_scripts and in there I put the following script, called "shut_down.sh":</div><div><br></div><div>sudo pkill pd</div><div>sleep 3</div><div>sudo pkill jackd</div><div>sleep 3</div><div>sudo poweroff</div><div><br></div><div>I launch Jack (actually Qjackctl) and then Pd with -jack. In Pd I have this patch:</div><div><br></div><div>[sh /etc/my_scripts/shut_down.sh(</div><div>|</div><div>[shell]</div><div><br></div><div>On my Raspberry Pi it works, Pd is killed, jackd is killed, and the the Pi shuts down. But on the Odroid it doesn't work. Pd is killed but its windows stay open (I'm using the Odroid via SSH, if this is relevant), and Jack won't quit, and the Odroid won't shut down.</div><div><br></div><div>I'm on Pd-0.47-1 and a 14.04 LTS Ubuntu image on the Odroid. I've installed [shell] via apt-get.</div></div>