cm: Set the IO scheduler based on a system property
Change-Id: Iab8314ed3a204c2d4815e008503d5a3bfa6b12cc
This commit is contained in:
parent
cefa91c862
commit
26731f56cc
@ -121,6 +121,13 @@ on property:ro.radio.noril=1
|
||||
on property:persist.radio.noril=1
|
||||
setprop ro.radio.noril 1
|
||||
|
||||
# Configure IO scheduler
|
||||
on property:sys.io.scheduler=*
|
||||
write /sys/block/mmcblk0/queue/scheduler ${sys.io.scheduler}
|
||||
|
||||
on property:persist.sys.io.scheduler=*
|
||||
setprop sys.io.scheduler ${persist.sys.io.scheduler}
|
||||
|
||||
# sysinit (/system/etc/init.d)
|
||||
service sysinit /system/bin/sysinit
|
||||
user root
|
||||
|
Loading…
Reference in New Issue
Block a user