Skip to content

Commit

Permalink
scripts/service: change logic for magisk symlink creation
Browse files Browse the repository at this point in the history
  • Loading branch information
backslashxx committed Jan 6, 2025
1 parent 842356b commit 59d070f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions module/service.sh
Original file line number Diff line number Diff line change
Expand Up @@ -116,10 +116,10 @@ esac
# this way it can be used on termux
# nicely enough magisk adds /debug_ramdisk and /sbin
# on $PATH, heres how we abuse it
[ -f /data/adb/magisk/magisk ] && {
if [ -z "$KSU" ] && [ -z "$APATCH" ]; then
find_rwdir
ln -sf $MODDIR/bindhosts.sh $rwdir/bindhosts
}
fi

##################
until [ "$(getprop sys.boot_completed)" == "1" ]; do
Expand Down

0 comments on commit 59d070f

Please sign in to comment.