Merge pull request #3066 from MilhouseVH/le90_user_kodi_conf

kodi: more easily support user configuration
This commit is contained in:
Matthias Reichl 2018-10-28 19:46:29 +01:00 committed by GitHub
commit 01f20a4fa2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2,6 +2,7 @@
# SPDX-License-Identifier: GPL-2.0-or-later # SPDX-License-Identifier: GPL-2.0-or-later
# Copyright (C) 2009-2014 Stephan Raue (stephan@openelec.tv) # Copyright (C) 2009-2014 Stephan Raue (stephan@openelec.tv)
# Copyright (C) 2018-present Team LibreELEC (https://libreelec.tv)
KODI_ROOT=$HOME/.kodi KODI_ROOT=$HOME/.kodi
@ -38,3 +39,5 @@ if [ "$(uname -m)" = "x86_64" -o "$(uname -m)" = "aarch64" ]; then
else #arm else #arm
echo "MALLOC_MMAP_THRESHOLD_=8192" >> /run/libreelec/kodi.conf echo "MALLOC_MMAP_THRESHOLD_=8192" >> /run/libreelec/kodi.conf
fi fi
[ -f /storage/.config/kodi.conf ] && cat /storage/.config/kodi.conf >>/run/libreelec/kodi.conf