diff --git a/packages/linux/init.d/02_cpupower b/packages/linux/init.d/02_cpupower index 3a23f724de..8ef13f896b 100644 --- a/packages/linux/init.d/02_cpupower +++ b/packages/linux/init.d/02_cpupower @@ -23,12 +23,6 @@ # # runlevels: openelec, textmode -case $RUNLEVEL in - boot) - progress "set cpu's to full power" - cpupower frequency-set -g performance > /dev/null 2>&1 - ;; +progress "set cpu's to full power" - poweroff|reboot) - ;; -esac + cpupower frequency-set -g performance > /dev/null 2>&1 diff --git a/packages/linux/init.d/15_modules b/packages/linux/init.d/15_modules index 2a0dcdc197..72155f6e93 100644 --- a/packages/linux/init.d/15_modules +++ b/packages/linux/init.d/15_modules @@ -23,19 +23,13 @@ # # runlevels: openelec, textmode -case $RUNLEVEL in - boot) - ( - 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 - )& - ;; + IFS=' +' + for module in `cat /etc/modules|grep "^[^#]"`; do + eval "modprobe $module" >/dev/null 2>&1 + done - poweroff|reboot) - ;; -esac +)&