• osm0sis's avatar
    scripts: fix addon.d after merge to trampoline · f5c099e9
    osm0sis authored
    - pass addon.d arguments through trampoline or nothing will happen
    - exit immediately after handing over from trampoline
    - better grep for recovery OUTFD which should work in all cases
    - output to logcat when booted and no binaries are found
    - use /postinstall/tmp path to call functions from addon.d-v2 in progress
    - remove unnecessary check for $MAGISKBIN since we're already executing from within it
    - make sure we're not in $TMPDIR again before we delete it
    - use $MAGISKBIN wherever possible in case it ever needs to be changed
    f5c099e9
addon.d.sh 3.25 KB