summaryrefslogtreecommitdiff
path: root/recipes/xserver-common/files/89xdgautostart.sh
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/xserver-common/files/89xdgautostart.sh')
-rw-r--r--recipes/xserver-common/files/89xdgautostart.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/recipes/xserver-common/files/89xdgautostart.sh b/recipes/xserver-common/files/89xdgautostart.sh
index db7aa229d2..9886f9fee1 100644
--- a/recipes/xserver-common/files/89xdgautostart.sh
+++ b/recipes/xserver-common/files/89xdgautostart.sh
@@ -1,7 +1,9 @@
+#!/bin/sh
+
XDGAUTOSTART=/etc/xdg/autostart
-if [ -d $XDGAUTOSTART ]; then
+if [ -d $XDGAUTOSTART ] ; then
for SCRIPT in $XDGAUTOSTART/*; do
CMD=`grep ^Exec= $SCRIPT | cut -d '=' -f 2`
$CMD &
done
-fi \ No newline at end of file
+fi