aboutsummaryrefslogtreecommitdiffstats
path: root/bin/stop_jack
diff options
context:
space:
mode:
Diffstat (limited to 'bin/stop_jack')
-rwxr-xr-xbin/stop_jack7
1 files changed, 6 insertions, 1 deletions
diff --git a/bin/stop_jack b/bin/stop_jack
index ab49fa9..9c47548 100755
--- a/bin/stop_jack
+++ b/bin/stop_jack
@@ -1,6 +1,11 @@
#!/bin/sh
-kill $(pidof jackd)
+jack_control stop
+sleep 3
+jack_control exit
+exit 0
+
+#kill $(pidof jackd)
#case "$HOSTNAME" in
# "beagleclone")
# kill $(pidof jackd)