Magisk
Magisk copied to clipboard
Refactor overlay rc load in Rust, supporting module modification of rc
Modules' rc scripts follow these rules:
- Ignore all scripts named
init.rc. - Each script existing in system partitions will be replaced by modules', otherwise, it will concatenated AFTER
init.rc, exceptzygote*.rcwhich will be ignored (this restriction should be removed by changing the order of injection of zygote rc because it's useful in some use case like enable 32-bit zygote in pixel 7 series).