mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-08-22 13:27:41 +00:00
Avoid triggering magisk --zygote-restart twice
We have already used on restart keyword to inject zygote restart, so triggering it here on prop is not needed.
This commit is contained in:
@@ -32,9 +32,6 @@ on nonencrypted
|
||||
|
||||
on property:sys.boot_completed=1
|
||||
exec {0} 0 0 -- {1}/magisk --boot-complete
|
||||
|
||||
on property:init.svc.zygote=stopped
|
||||
exec {0} 0 0 -- {1}/magisk --zygote-restart
|
||||
"#,
|
||||
"u:r:magisk:s0", tmp_dir
|
||||
)
|
||||
|
Reference in New Issue
Block a user