From 9e40bf449146bb2207937dd9115ecb89017875c4 Mon Sep 17 00:00:00 2001 From: David Runge Date: Tue, 10 Dec 2013 12:10:45 +0100 Subject: Added autostart functionality when on rt kernel --- bin/autostart | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) (limited to 'bin/autostart') diff --git a/bin/autostart b/bin/autostart index b5515da..1fac332 100755 --- a/bin/autostart +++ b/bin/autostart @@ -1,5 +1,12 @@ #!/bin/bash # make RT check and don't start! -dropbox start & -owncloud & -compton --config ~/.config/compton.conf -b +KERNEL_NAME=$(uname -r) +if [[ "$KERNEL_NAME" != *rt* ]]; then + dropbox start & + owncloud & + compton --config ~/.config/compton.conf -b +else + pulseaudio --kill & +# start_jack & + run_once qjackctl & +fi -- cgit v1.2.3-54-g00ecf