Am Montag, 18. Februar 2008 schrieb Dave Phillips: > I'd like to add some conditional tests to my simple scripts. For > example, I want to query the system to determine whether JACK is already > running. If it is, I'll run an app (e.g. xine or AlsaPlayer) configured > for JACK. If JACK is not running, I'll run the app without it. > So how do I test for JACK in a simple bash shell script ? I use the return-value of "pidof jackd" to start my cron-jobs only when no jackd is running... Arnold -- visit http://www.arnoldarts.de/ --- Hi, I am a .signature virus. Please copy me into your ~/.signature and send me to all your contacts. After a month or so log in as root and do a "rm -rf /". Or ask your administrator to do so...
Attachment:
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ Linux-audio-user mailing list Linux-audio-user@xxxxxxxxxxxxxxxxxxxx http://lists.linuxaudio.org/mailman/listinfo/linux-audio-user