From 4fb5e283e611b87c4d55079c12a1a4ca1c5624a7 Mon Sep 17 00:00:00 2001 From: Koen Kooi Date: Mon, 18 May 2009 10:24:05 +0200 Subject: xserver-common: add xdg-autostart support (from poky) --- recipes/xserver-common/files/89xdgautostart.sh | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 recipes/xserver-common/files/89xdgautostart.sh (limited to 'recipes/xserver-common/files') 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 -- cgit v1.2.3