kodi: more easily support user configuration

This commit is contained in:
MilhouseVH 2018-10-28 14:50:40 +00:00
parent 9e204ef0b7
commit 6d5760e9f7

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