Re: [PD] Best way to shut the system down with a script launched from Pd?

2017-03-30 Thread Alexandros Drymonitis
On Wed, Mar 29, 2017 at 9:41 PM, wrote: > On 03/29/2017 06:04 PM, Alexandros Drymonitis wrote: > > sudo pkill pd > > sleep 3 > > sudo pkill jackd > > sleep 3 > > sudo poweroff > > why don't you just call `poweroff`? > the shutdown process will eventually kill all running

Re: [PD] Best way to shut the system down with a script launched from Pd?

2017-03-29 Thread zmoelnig
On 03/29/2017 06:04 PM, Alexandros Drymonitis wrote: > sudo pkill pd > sleep 3 > sudo pkill jackd > sleep 3 > sudo poweroff why don't you just call `poweroff`? the shutdown process will eventually kill all running processes. gfmrdsa IOhannes signature.asc Description: OpenPGP digital

Re: [PD] Best way to shut the system down with a script launched from Pd?

2017-03-29 Thread Alexandros Drymonitis
On Wed, Mar 29, 2017 at 7:35 PM, Alex 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

Re: [PD] Best way to shut the system down with a script launched from Pd?

2017-03-29 Thread Alex
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

[PD] Best way to shut the system down with a script launched from Pd?

2017-03-29 Thread Alexandros Drymonitis
I'm trying to shut down my Odroid-U3 by running a script through [shell]. It's very likely that my approach is not good, but here's what I'm doing: I've created a directory /etc/my_scripts and in there I put the following script, called "shut_down.sh": sudo pkill pd sleep 3 sudo pkill jackd