Use exec for boot_complete

This commit is contained in:
topjohnwu
2022-05-28 16:53:04 -07:00
parent 99afe7ac07
commit 9c774f96db
4 changed files with 11 additions and 25 deletions

View File

@@ -29,12 +29,6 @@ constexpr char MAGISK_RC[] =
"\n"
"on property:sys.boot_completed=1\n"
" start %4$s\n"
"\n"
"service %4$s %1$s/magisk --boot-complete\n"
" user root\n"
" seclabel u:r:" SEPOL_PROC_DOMAIN ":s0\n"
" oneshot\n"
" exec %1$s/magisk --boot-complete\n"
"\n"
;