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