mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 05:06:43 +00:00
busybox-initramfs: init: fix loading of kernel modules
Add missing .ko to module name. Signed-off-by: Alain Kalker <a.c.kalker@gmail.com>
This commit is contained in:
parent
cea7f0ef7b
commit
52898a1dc1
@ -305,7 +305,7 @@ NBD_DEVS="0"
|
|||||||
[ ! -f "/etc/modules" ] && return
|
[ ! -f "/etc/modules" ] && return
|
||||||
for module in $(cat /etc/modules); do
|
for module in $(cat /etc/modules); do
|
||||||
progress "Loading kernel module $module"
|
progress "Loading kernel module $module"
|
||||||
/bin/busybox insmod "$MODULE_DIR/$module" || \
|
/bin/busybox insmod "$MODULE_DIR/$module.ko" || \
|
||||||
error "load_modules" "Failed to load kernel module $module"
|
error "load_modules" "Failed to load kernel module $module"
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user