Let core-only mode run hosts and magiskhide
This commit is contained in:
parent
e33a5eb307
commit
cf56d7e4ed
@ -556,7 +556,7 @@ void post_fs_data(int client) {
|
|||||||
|
|
||||||
// Core only mode
|
// Core only mode
|
||||||
if (access(DISABLEFILE, F_OK) == 0)
|
if (access(DISABLEFILE, F_OK) == 0)
|
||||||
goto unblock;
|
goto core_only;
|
||||||
|
|
||||||
DIR *dir;
|
DIR *dir;
|
||||||
struct dirent *entry;
|
struct dirent *entry;
|
||||||
@ -700,6 +700,7 @@ void post_fs_data(int client) {
|
|||||||
LOGI("* Running module post-fs-data scripts\n");
|
LOGI("* Running module post-fs-data scripts\n");
|
||||||
exec_module_script("post-fs-data");
|
exec_module_script("post-fs-data");
|
||||||
|
|
||||||
|
core_only:
|
||||||
// Systemless hosts
|
// Systemless hosts
|
||||||
if (access(HOSTSFILE, F_OK) == 0) {
|
if (access(HOSTSFILE, F_OK) == 0) {
|
||||||
LOGI("* Enabling systemless hosts file support");
|
LOGI("* Enabling systemless hosts file support");
|
||||||
|
Loading…
Reference in New Issue
Block a user