xbmc-pvr: add short startdelay and support to override the start delay on buildtime

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2012-01-25 15:21:58 +01:00
parent 488e77f7a8
commit 77cbe274fb
2 changed files with 5 additions and 0 deletions

View File

@ -72,6 +72,7 @@ fi
)&
# starting XBMC
usleep $XBMC_STARTDELAY
while true; do
DISPLAY=:0.0 /usr/lib/xbmc/xbmc.bin $XBMC_ARGS > /dev/null 2>&1

View File

@ -24,6 +24,10 @@
# evironment variables that are not user defined.
################################################################################
if [ -z "$XBMC_STARTDELAY" ]; then
XBMC_STARTDELAY="1000000"
fi
XBMC_HOME="/usr/share/xbmc"
export XBMC_HOME