xbmc: add temporary support for autostart script, dont use it\!\!\!

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2011-04-06 03:42:03 +02:00
parent 49bd4806d7
commit 5987dc0626

View File

@ -33,6 +33,16 @@ if $(cat /proc/bus/input/devices | grep Vendor=0471 | grep -q Product=20d9);then
export SDL_MOUSE_RELATIVE=0 export SDL_MOUSE_RELATIVE=0
fi fi
# starting autostart script (will be removed later again, dont use it!!!)
AUTOSTART="/storage/.config/autostart.sh"
if [ -f $AUTOSTART ]; then
echo "!!! AUTOSTART script detected !!!" >> /var/log/messages
cat "$AUTOSTART" >> /var/log/messages
echo "!!! -End of autostart script- !!!" >> /var/log/messages
sh $AUTOSTART
fi
# starting autoupdate # starting autoupdate
[ -f /usr/bin/autoupdate ] && /usr/bin/autoupdate & [ -f /usr/bin/autoupdate ] && /usr/bin/autoupdate &