Commit c6569ce0 authored by vvb2060's avatar vvb2060 Committed by John Wu

Fix service scripts

parent a62bdc58
......@@ -271,6 +271,7 @@ void post_fs_data(int client) {
// We still want to do magic mount because root itself might need it
magic_mount();
pfs_done = true;
unblock_boot_process();
}
......@@ -325,7 +326,8 @@ void boot_complete(int client) {
// Check whether we have manager installed
if (!check_manager()) {
// Install stub
exec_command_sync("/sbin/magiskinit", "-x", "manager", "/data/magisk.apk");
auto init = MAGISKTMP + "/magiskinit";
exec_command_sync(init.data(), "-x", "manager", "/data/magisk.apk");
install_apk("/data/magisk.apk");
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment