mirror of
https://github.com/topjohnwu/Magisk.git
synced 2024-11-27 20:15:29 +00:00
Remove unnecessary applets of MagiskInit
This commit is contained in:
parent
9e90a71c04
commit
781ec810d9
@ -609,10 +609,8 @@ void MagiskInit::setup_rootfs() {
|
||||
sprintf(path, "/sbin/%s", applet_names[i]);
|
||||
xsymlink("/sbin/magisk", path);
|
||||
}
|
||||
for (int i = 0; init_applet[i]; ++i) {
|
||||
sprintf(path, "/sbin/%s", init_applet[i]);
|
||||
xsymlink("/sbin/magiskinit", path);
|
||||
}
|
||||
xsymlink("/sbin/magiskinit", "/sbin/magiskpolicy");
|
||||
xsymlink("/sbin/magiskinit", "/sbin/supolicy");
|
||||
|
||||
close(rootdir);
|
||||
close(sbin);
|
||||
|
Loading…
Reference in New Issue
Block a user