mirror of
https://github.com/followmsi/android_device_asus_deb.git
synced 2024-11-06 22:06:28 +00:00
deb: Set /sys/block/mmcblk0/queue/add_random
This commit is contained in:
parent
c35eb0c266
commit
fa5c4ca24b
1 changed files with 4 additions and 0 deletions
|
@ -58,6 +58,10 @@ on early-boot
|
||||||
# set RLIMIT_MEMLOCK to 64MB
|
# set RLIMIT_MEMLOCK to 64MB
|
||||||
setrlimit 8 67108864 67108864
|
setrlimit 8 67108864 67108864
|
||||||
|
|
||||||
|
# Flash storage isn't a good entropy source, and only causes locking
|
||||||
|
# overhead in the kernel. Turn it off.
|
||||||
|
write /sys/block/mmcblk0/queue/add_random 0
|
||||||
|
|
||||||
# Busy loop to wait for devices booted by devstart_sh just in case device not ready
|
# Busy loop to wait for devices booted by devstart_sh just in case device not ready
|
||||||
exec - root root system -- /vendor/bin/init.qcom.devwait.sh
|
exec - root root system -- /vendor/bin/init.qcom.devwait.sh
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue