From cf56d7e4ed6b5b28e9917ae99321250abeb86455 Mon Sep 17 00:00:00 2001 From: topjohnwu Date: Fri, 14 Jul 2017 00:54:43 +0800 Subject: [PATCH] Let core-only mode run hosts and magiskhide --- jni/daemon/bootstages.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/jni/daemon/bootstages.c b/jni/daemon/bootstages.c index e4b68f402..64b1fc317 100644 --- a/jni/daemon/bootstages.c +++ b/jni/daemon/bootstages.c @@ -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");