kernel: Add boot_completed init event

This commit is contained in:
weishu
2023-01-04 13:43:31 +07:00
parent 964a79bc76
commit 91ec16310c

View File

@@ -151,8 +151,14 @@ static const char KERNEL_SU_RC[] =
"\n"
"on post-fs-data\n"
// We should wait for the post-fs-data finish
" exec u:r:su:s0 root -- /data/adb/ksud post-fs-data\n"
"\n"
"on property:sys.boot_completed=1\n"
" exec u:r:su:s0 root -- /data/adb/ksud boot-completed\n"
"\n"
"\n"
;