[LAU] another scripting question

Benoit Rouits brouits at free.fr
Mon Feb 18 13:57:46 EST 2008


Le lundi 18 février 2008 à 11:54 -0500, Dave Phillips a écrit :
> So how do I test for JACK in a simple bash shell script ?
example in my script:

#!/bin/sh
# start or stop jackd alternatively
#
if [ `pidof jackd` -ne "" ]
then
    kill `pidof jackd`
else
    jackd -d alsa
fi





More information about the Linux-audio-user mailing list