Let core-only mode run hosts and magiskhide

This commit is contained in:
topjohnwu 2017-07-14 00:54:43 +08:00
parent e33a5eb307
commit cf56d7e4ed

View File

@ -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");