jack/jackdbus2qjackctl

11 lines
176 B
Plaintext
Raw Normal View History

#!/bin/sh
QJACKCTLPID=`pidof qjackctl`
if [ "$QJACKCTLPID" -o ! -e /usr/bin/qjackctl ]; then
/usr/bin/jackdbus auto &
exit 0
else
/usr/bin/qjackctl -s &
exit 1
fi