Commit cf56d7e4 authored by topjohnwu's avatar topjohnwu

Let core-only mode run hosts and magiskhide

parent e33a5eb3
......@@ -556,7 +556,7 @@ void post_fs_data(int client) {
// Core only mode
if (access(DISABLEFILE, F_OK) == 0)
goto unblock;
goto core_only;
DIR *dir;
struct dirent *entry;
......@@ -700,6 +700,7 @@ void post_fs_data(int client) {
LOGI("* Running module post-fs-data scripts\n");
exec_module_script("post-fs-data");
core_only:
// Systemless hosts
if (access(HOSTSFILE, F_OK) == 0) {
LOGI("* Enabling systemless hosts file support");
......
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