mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-30 06:06:43 +00:00
Revert "util-linux: start init scripts on RUNLEVEL=boot"
This reverts commit afb6f13517d6d532a94d51e91ca9727cc58387a5.
This commit is contained in:
parent
9c3dc80354
commit
3bb5a505b4
@ -23,9 +23,7 @@
|
||||
#
|
||||
# runlevels: openelec, textmode
|
||||
|
||||
case $RUNLEVEL in
|
||||
boot)
|
||||
(
|
||||
(
|
||||
INSTALLED_MEMORY=`cat /proc/meminfo | grep 'MemTotal:' | awk '{print $2}'`
|
||||
SWAP=`blkid -t TYPE="swap" -o device`
|
||||
SWAPFILE="$HOME/.cache/swapfile"
|
||||
@ -50,9 +48,4 @@ case $RUNLEVEL in
|
||||
sysctl -w vm.swappiness=60 2>&1 > /dev/null
|
||||
fi
|
||||
fi
|
||||
)&
|
||||
;;
|
||||
|
||||
poweroff|reboot)
|
||||
;;
|
||||
esac
|
||||
)&
|
Loading…
x
Reference in New Issue
Block a user