linux: rework init scripts

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2011-01-09 03:48:52 +01:00
parent 5404f9c219
commit 6db6b95817

View File

@ -1,5 +1,3 @@
#!/bin/sh
################################################################################
# Copyright (C) 2009-2010 OpenELEC.tv
# http://www.openelec.tv
@ -25,16 +23,13 @@
#
# runlevels: openelec, textmode
. /etc/profile
(
progress "loading kernel modules"
progress "loading kernel modules"
(
IFS='
'
for module in `cat /etc/modules|grep "^[^#]"`; do
eval "modprobe $module" >/dev/null 2>&1
done
exit 0
)&
)&