1 2 3 4 5 6 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