mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 13:16:41 +00:00
xbmc:
- cleanup /etc/profile.d/xbmc.conf - remove caching function
This commit is contained in:
parent
ddacdabcbe
commit
b37c2c2918
@ -5,25 +5,6 @@
|
|||||||
# evironment variables that are not user defined.
|
# evironment variables that are not user defined.
|
||||||
################################################################################
|
################################################################################
|
||||||
|
|
||||||
XBMC_CACHING="no"
|
|
||||||
|
|
||||||
#-------------------------------------------------------------------------------
|
|
||||||
# do not change anything below
|
|
||||||
#-------------------------------------------------------------------------------
|
|
||||||
|
|
||||||
XBMC_HOME="/usr/share/xbmc"
|
XBMC_HOME="/usr/share/xbmc"
|
||||||
|
|
||||||
export XBMC_HOME
|
export XBMC_HOME
|
||||||
|
|
||||||
cache_xbmc () {
|
|
||||||
progress "caching XBMC"
|
|
||||||
mkdir -p /var/cache/bin
|
|
||||||
$IONICE cp -PR /usr/share/xbmc/xbmc.bin /var/cache/bin
|
|
||||||
touch /var/cache/xbmc.cache
|
|
||||||
}
|
|
||||||
|
|
||||||
wait_for_xbmc_cache () {
|
|
||||||
while [ ! -f /var/cache/xbmc.cache ]; do
|
|
||||||
sleep 1
|
|
||||||
done
|
|
||||||
}
|
|
Loading…
x
Reference in New Issue
Block a user