aboutsummaryrefslogtreecommitdiffstats
path: root/bin/stop_jack
diff options
context:
space:
mode:
authorDavid Runge <david.runge@frqrec.com>2014-09-28 04:37:27 +0200
committerDavid Runge <david.runge@frqrec.com>2014-09-28 04:37:27 +0200
commit08484395f10d4c8b354f2ec09daa388095931cc3 (patch)
tree36aee9e7faa198a3a38785620f57ee9767094e08 /bin/stop_jack
parent4e29fb858bfbd5ff030af7e4e45403dfda6d617f (diff)
downloaddotfiles-08484395f10d4c8b354f2ec09daa388095931cc3.tar.gz
dotfiles-08484395f10d4c8b354f2ec09daa388095931cc3.tar.bz2
dotfiles-08484395f10d4c8b354f2ec09daa388095931cc3.tar.xz
dotfiles-08484395f10d4c8b354f2ec09daa388095931cc3.zip
Adding correct echo output to updated script.
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)