mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-31 22:47:51 +00:00
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:
parent
488e77f7a8
commit
77cbe274fb
@ -72,6 +72,7 @@ fi
|
|||||||
)&
|
)&
|
||||||
|
|
||||||
# starting XBMC
|
# starting XBMC
|
||||||
|
usleep $XBMC_STARTDELAY
|
||||||
while true; do
|
while true; do
|
||||||
|
|
||||||
DISPLAY=:0.0 /usr/lib/xbmc/xbmc.bin $XBMC_ARGS > /dev/null 2>&1
|
DISPLAY=:0.0 /usr/lib/xbmc/xbmc.bin $XBMC_ARGS > /dev/null 2>&1
|
||||||
|
@ -24,6 +24,10 @@
|
|||||||
# evironment variables that are not user defined.
|
# evironment variables that are not user defined.
|
||||||
################################################################################
|
################################################################################
|
||||||
|
|
||||||
|
if [ -z "$XBMC_STARTDELAY" ]; then
|
||||||
|
XBMC_STARTDELAY="1000000"
|
||||||
|
fi
|
||||||
|
|
||||||
XBMC_HOME="/usr/share/xbmc"
|
XBMC_HOME="/usr/share/xbmc"
|
||||||
|
|
||||||
export XBMC_HOME
|
export XBMC_HOME
|
||||||
|
Loading…
x
Reference in New Issue
Block a user