0
0
mirror of https://github.com/libretro/Lakka-LibreELEC.git synced 2025-03-01 09:11:23 +00:00

busybox: allow customizing suspend-modules.conf

This commit is contained in:
Leonardo Brondani Schenkel
2019-08-03 23:41:01 +02:00
parent 83bd69f6bf
commit 1c90c1d946

@ -3,8 +3,18 @@
# SPDX-License-Identifier: GPL-2.0-or-later
# Copyright (C) 2009-2014 Stephan Raue (stephan@openelec.tv)
if [ -f /storage/.config/suspend-modules.conf ]; then
. /storage/.config/suspend-modules.conf
custom_modules="${SUSPEND_MODULES}"
SUSPEND_MODULES=""
fi
. /etc/suspend-modules.conf
if [ -n "${custom_modules}" ]; then
SUSPEND_MODULES="${SUSPEND_MODULES} ${custom_modules}"
fi
modunload()
{
local MOD D C USED MODS I