mirror of
https://github.com/topjohnwu/Magisk.git
synced 2024-11-27 20:15:29 +00:00
Remove unexpected /sbin/overlay.d
This commit is contained in:
parent
9656cf2f86
commit
7a9e6d2ad2
@ -277,11 +277,9 @@ void MagiskInit::patch_rw_root() {
|
||||
link_path("/sbin", "/root");
|
||||
|
||||
// Handle overlays
|
||||
if (access("/overlay.d", F_OK) == 0) {
|
||||
LOGD("Merge overlay.d\n");
|
||||
load_overlay_rc("/overlay.d");
|
||||
mv_path("/overlay.d", "/");
|
||||
}
|
||||
load_overlay_rc("/overlay.d");
|
||||
mv_path("/overlay.d", "/");
|
||||
rm_rf("/data/overlay.d");
|
||||
rm_rf("/.backup");
|
||||
|
||||
// Patch init.rc
|
||||
|
Loading…
Reference in New Issue
Block a user