summaryrefslogtreecommitdiffstats
path: root/recipes/xserver-common/files
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2009-05-18 10:24:05 +0200
committerKoen Kooi <koen@openembedded.org>2009-05-18 10:24:05 +0200
commit4fb5e283e611b87c4d55079c12a1a4ca1c5624a7 (patch)
tree46ef0cf12c319930dc2552e979122a0d1d0a2a3a /recipes/xserver-common/files
parentdba4943a54c97d1479b60ff05a6f36aee91082ee (diff)
downloadopenembedded-4fb5e283e611b87c4d55079c12a1a4ca1c5624a7.tar.gz
xserver-common: add xdg-autostart support (from poky)
Diffstat (limited to 'recipes/xserver-common/files')
-rw-r--r--recipes/xserver-common/files/89xdgautostart.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/recipes/xserver-common/files/89xdgautostart.sh b/recipes/xserver-common/files/89xdgautostart.sh
new file mode 100644
index 0000000000..db7aa229d2
--- /dev/null
+++ b/recipes/xserver-common/files/89xdgautostart.sh
@@ -0,0 +1,7 @@
+XDGAUTOSTART=/etc/xdg/autostart
+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