summaryrefslogtreecommitdiff
path: root/recipes/xserver-common/files/89xdgautostart.sh
blob: 9886f9fee15e2f16060d7673434184eca12191f0 (plain)
1
2
3
4
5
6
7
8
9
#!/bin/sh

XDGAUTOSTART=/etc/xdg/autostart
if [ -d $XDGAUTOSTART ] ; then
    for SCRIPT in $XDGAUTOSTART/*; do
        CMD=`grep ^Exec= $SCRIPT | cut -d '=' -f 2`
        $CMD &
    done
fi