From 5987dc0626c496ddab491d14af04f01fb41be038 Mon Sep 17 00:00:00 2001 From: Stephan Raue Date: Wed, 6 Apr 2011 03:42:03 +0200 Subject: [PATCH] xbmc: add temporary support for autostart script, dont use it\!\!\! Signed-off-by: Stephan Raue --- packages/mediacenter/xbmc/init.d/93_xbmc | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/packages/mediacenter/xbmc/init.d/93_xbmc b/packages/mediacenter/xbmc/init.d/93_xbmc index c0683e89a8..9fe80e19c8 100644 --- a/packages/mediacenter/xbmc/init.d/93_xbmc +++ b/packages/mediacenter/xbmc/init.d/93_xbmc @@ -33,6 +33,16 @@ if $(cat /proc/bus/input/devices | grep Vendor=0471 | grep -q Product=20d9);then export SDL_MOUSE_RELATIVE=0 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 [ -f /usr/bin/autoupdate ] && /usr/bin/autoupdate &