Skip to content

Commit

Permalink
Trigger Zygisk modules service.sh in parallel
Browse files Browse the repository at this point in the history
For scripts in late_start service mode, they should be executed in
parallel, as explained in the official docs:

https://github.com/topjohnwu/Magisk/blob/master/docs/guides.md#boot-scripts
  • Loading branch information
JingMatrix committed Nov 24, 2024
1 parent f763c53 commit 3779cf0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion module/src/service.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ if [ "$(which magisk)" ]; then
if [ -f "$file/service.sh" ]; then
cd "$file"
log -p i -t "zygisk-sh" "Manually trigger service.sh for $file"
sh "$(realpath ./service.sh)"
sh "$(realpath ./service.sh)" &
cd "$MODDIR"
fi
fi
Expand Down

0 comments on commit 3779cf0

Please sign in to comment.