init.cm: Fix sysinit dependencies
sysinit depends on having the filesystems mounted, and userdata in particular depends on having /data present. Move its startup to post-fs-data Change-Id: Iafcc926a3aa310c1afe501d272df5811da500d86
This commit is contained in:
parent
c094975dd1
commit
79ba997084
@ -11,10 +11,10 @@ on post-fs-data
|
|||||||
chmod 0771 /cache/dalvik-cache
|
chmod 0771 /cache/dalvik-cache
|
||||||
mkdir /data/.ssh 0750 root shell
|
mkdir /data/.ssh 0750 root shell
|
||||||
|
|
||||||
on boot
|
|
||||||
# Run sysinit
|
# Run sysinit
|
||||||
start sysinit
|
start sysinit
|
||||||
|
|
||||||
|
on boot
|
||||||
chown system system /sys/block/mmcblk0/queue/scheduler
|
chown system system /sys/block/mmcblk0/queue/scheduler
|
||||||
chmod 0664 /sys/block/mmcblk0/queue/scheduler
|
chmod 0664 /sys/block/mmcblk0/queue/scheduler
|
||||||
|
|
||||||
@ -47,3 +47,4 @@ service compcache /system/bin/handle_compcache
|
|||||||
service sysinit /system/bin/sysinit
|
service sysinit /system/bin/sysinit
|
||||||
user root
|
user root
|
||||||
oneshot
|
oneshot
|
||||||
|
disabled
|
||||||
|
Loading…
Reference in New Issue
Block a user