Don't append "start logd" in post-fs-data

This was first done in b13eb3f because magiskd was started in
post-fs stage that time. Among all android versions, logd was all
started before post-fs-data.
This commit is contained in:
Wang Han 2024-09-09 20:08:03 +08:00 committed by John Wu
parent e381aebaa0
commit 7af273e047

View File

@ -14,7 +14,6 @@ pub fn inject_magisk_rc(fd: RawFd, tmp_dir: &Utf8CStr) {
file, file,
r#" r#"
on post-fs-data on post-fs-data
start logd
exec {0} 0 0 -- {1}/magisk --post-fs-data exec {0} 0 0 -- {1}/magisk --post-fs-data
on property:vold.decrypt=trigger_restart_framework on property:vold.decrypt=trigger_restart_framework