From 08845cec6393482a60493e465f0ba13727386f5b Mon Sep 17 00:00:00 2001 From: David Runge Date: Sun, 8 May 2016 20:22:16 +0200 Subject: bin/set_volume: Making script not depend on functions.sh anymore. Introducing bash strict mode. --- bin/autostart | 23 ----------------------- 1 file changed, 23 deletions(-) delete mode 100755 bin/autostart (limited to 'bin/autostart') diff --git a/bin/autostart b/bin/autostart deleted file mode 100755 index 9d70ad0..0000000 --- a/bin/autostart +++ /dev/null @@ -1,23 +0,0 @@ -#!/bin/bash -# Auto starting various programs post lightdm - -export DISPLAY=:0 -export XAUTHORITY=/home/dave/.Xauthority - -KERNEL_NAME=$(uname -r) -if [[ "$KERNEL_NAME" != *rt* ]]; then - pid=$(pidof dropbox) - re='^[0-9]+$' - if [[ $pid =~ $re ]];then - echo "Dropbox alread running. Restarting..." - dropbox stop && dropbox start & - else - dropbox start & - fi -# pulseaudio --start & -# nm-applet & -# firewall-applet & -else - pulseaudio --kill & - qjackctl & -fi -- cgit v1.2.3-70-g09d2