diff options
author | Koen Kooi <koen@openembedded.org> | 2009-05-18 10:24:05 +0200 |
---|---|---|
committer | Koen Kooi <koen@openembedded.org> | 2009-05-18 10:24:05 +0200 |
commit | 4fb5e283e611b87c4d55079c12a1a4ca1c5624a7 (patch) | |
tree | 46ef0cf12c319930dc2552e979122a0d1d0a2a3a /recipes/xserver-common/files | |
parent | dba4943a54c97d1479b60ff05a6f36aee91082ee (diff) |
xserver-common: add xdg-autostart support (from poky)
Diffstat (limited to 'recipes/xserver-common/files')
-rw-r--r-- | recipes/xserver-common/files/89xdgautostart.sh | 7 |
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 |