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:
@ -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
|
||||
|
Reference in New Issue
Block a user