mirror of
https://github.com/archr-linux/Arch-R.git
synced 2026-03-31 14:41:55 -07:00
xbmc: 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:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user