mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 13:16:41 +00:00
linux: rework init scripts
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
5404f9c219
commit
6db6b95817
11
packages/linux/init.d/05_modules → packages/linux/init.d/11_modules
Executable file → Normal file
11
packages/linux/init.d/05_modules → packages/linux/init.d/11_modules
Executable file → Normal file
@ -1,5 +1,3 @@
|
|||||||
#!/bin/sh
|
|
||||||
|
|
||||||
################################################################################
|
################################################################################
|
||||||
# Copyright (C) 2009-2010 OpenELEC.tv
|
# Copyright (C) 2009-2010 OpenELEC.tv
|
||||||
# http://www.openelec.tv
|
# http://www.openelec.tv
|
||||||
@ -25,16 +23,13 @@
|
|||||||
#
|
#
|
||||||
# runlevels: openelec, textmode
|
# runlevels: openelec, textmode
|
||||||
|
|
||||||
. /etc/profile
|
(
|
||||||
|
progress "loading kernel modules"
|
||||||
|
|
||||||
progress "loading kernel modules"
|
|
||||||
|
|
||||||
(
|
|
||||||
IFS='
|
IFS='
|
||||||
'
|
'
|
||||||
for module in `cat /etc/modules|grep "^[^#]"`; do
|
for module in `cat /etc/modules|grep "^[^#]"`; do
|
||||||
eval "modprobe $module" >/dev/null 2>&1
|
eval "modprobe $module" >/dev/null 2>&1
|
||||||
done
|
done
|
||||||
|
|
||||||
exit 0
|
)&
|
||||||
)&
|
|
Loading…
x
Reference in New Issue
Block a user