mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
linux:
- add init script to load modules
This commit is contained in:
parent
c7f6be5430
commit
bcbbdbf51a
16
packages/linux/init.d/05_modules
Executable file
16
packages/linux/init.d/05_modules
Executable file
@ -0,0 +1,16 @@
|
||||
#
|
||||
# load modules
|
||||
#
|
||||
# runlevels: openelec, textmode
|
||||
|
||||
progress "loading kernel modules"
|
||||
|
||||
(
|
||||
IFS='
|
||||
'
|
||||
for module in `cat /etc/modules|grep "^[^#]"`; do
|
||||
eval "modprobe $module" >/dev/null 2>&1
|
||||
done
|
||||
|
||||
exit 0
|
||||
)&
|
Loading…
x
Reference in New Issue
Block a user