Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
M
Magisk
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
Magisk
Commits
cf56d7e4
Commit
cf56d7e4
authored
Jul 13, 2017
by
topjohnwu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Let core-only mode run hosts and magiskhide
parent
e33a5eb3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
bootstages.c
jni/daemon/bootstages.c
+2
-1
No files found.
jni/daemon/bootstages.c
View file @
cf56d7e4
...
...
@@ -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"
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment