mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
Revert "linux: start init scripts on RUNLEVEL=boot"
This reverts commit dd1f73885f2a23ed9572826ccd0976efc341cbac.
This commit is contained in:
parent
6ba475460b
commit
86d8de73db
@ -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
|
||||
|
@ -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
|
||||
)&
|
||||
|
Loading…
x
Reference in New Issue
Block a user