init.rc: start lmkd
Change-Id: Ibebab31e1f41a210821834a1d65f196b39bb6601
This commit is contained in:
parent
3948f80f2a
commit
aacded7019
1 changed files with 9 additions and 0 deletions
|
@ -83,6 +83,10 @@ loglevel 3
|
|||
mkdir /mnt/obb 0700 root system
|
||||
mount tmpfs tmpfs /mnt/obb mode=0755,gid=1000
|
||||
|
||||
# memory control cgroup
|
||||
mkdir /dev/memcg 0700 root system
|
||||
mount cgroup none /dev/memcg memory
|
||||
|
||||
write /proc/sys/kernel/panic_on_oops 1
|
||||
write /proc/sys/kernel/hung_task_timeout_secs 0
|
||||
write /proc/cpu/alignment 4
|
||||
|
@ -433,6 +437,11 @@ service adbd /sbin/adbd
|
|||
on property:ro.kernel.qemu=1
|
||||
start adbd
|
||||
|
||||
service lmkd /system/bin/lmkd
|
||||
class core
|
||||
critical
|
||||
socket lmkd seqpacket 0660 system system
|
||||
|
||||
service servicemanager /system/bin/servicemanager
|
||||
class core
|
||||
user system
|
||||
|
|
Loading…
Reference in a new issue