Revert "linux: start init scripts on RUNLEVEL=boot"

This reverts commit dd1f73885f2a23ed9572826ccd0976efc341cbac.
This commit is contained in:
Stephan Raue 2011-09-12 19:28:25 +02:00
parent 6ba475460b
commit 86d8de73db
2 changed files with 10 additions and 22 deletions

View File

@ -23,12 +23,6 @@
# #
# runlevels: openelec, textmode # runlevels: openelec, textmode
case $RUNLEVEL in progress "set cpu's to full power"
boot)
progress "set cpu's to full power"
cpupower frequency-set -g performance > /dev/null 2>&1
;;
poweroff|reboot) cpupower frequency-set -g performance > /dev/null 2>&1
;;
esac

View File

@ -23,19 +23,13 @@
# #
# runlevels: openelec, textmode # runlevels: openelec, textmode
case $RUNLEVEL in (
boot) 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
)&
;;
poweroff|reboot) )&
;;
esac