xbmc: wait for starting Xorg

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2010-07-11 16:22:57 +02:00
parent e32ca3ccba
commit 70dfc25689

View File

@ -30,8 +30,13 @@ progress "starting XBMC"
XBMC_ARGS="--standalone -fs --lircdev /dev/lircd" XBMC_ARGS="--standalone -fs --lircdev /dev/lircd"
# starting autoupdate
[ -f /usr/bin/autoupdate ] && /usr/bin/autoupdate & [ -f /usr/bin/autoupdate ] && /usr/bin/autoupdate &
# waiting for Xorg to start
wait_for_xorg
# starting XBMC
while true; do while true; do
DISPLAY=:0.0 xbmc $XBMC_ARGS > /dev/null 2>&1 DISPLAY=:0.0 xbmc $XBMC_ARGS > /dev/null 2>&1