mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-06-13 05:37:47 +02:00
Disable native systemless hosts, add built-in systemless hosts module
This commit is contained in:
@ -752,12 +752,6 @@ void startup() {
|
||||
}
|
||||
|
||||
static void core_only() {
|
||||
// Systemless hosts
|
||||
if (access(HOSTSFILE, F_OK) == 0) {
|
||||
LOGI("* Enabling systemless hosts file support");
|
||||
bind_mount(HOSTSFILE, "/system/etc/hosts");
|
||||
}
|
||||
|
||||
auto_start_magiskhide();
|
||||
unblock_boot_process();
|
||||
}
|
||||
|
Reference in New Issue
Block a user