mirror of
https://github.com/chiteroman/PlayIntegrityFix.git
synced 2025-01-19 02:52:20 +08:00
module/autopif: better process kill
This commit is contained in:
parent
47d700eee1
commit
1d004623dc
@ -21,7 +21,7 @@ set_random_beta() {
|
||||
DEVICE=$(echo "$PRODUCT" | sed 's/_beta//')
|
||||
}
|
||||
|
||||
# lets use tmpfs for processing
|
||||
# lets try to use tmpfs for processing
|
||||
TEMPDIR="$MODDIR/autopif"
|
||||
[ -w /sbin ] && TEMPDIR="/sbin/autopif"
|
||||
[ -w /debug_ramdisk ] && TEMPDIR="/debug_ramdisk/autopif"
|
||||
@ -85,4 +85,7 @@ cd "$MODPATH"
|
||||
echo "- Cleaning up ..."
|
||||
rm -rf "$TEMPDIR"
|
||||
|
||||
su -c killall com.google.android.gms.unstable || echo ""
|
||||
for i in $(busybox pidof com.google.android.gms.unstable); do
|
||||
echo "- Killing pid $i"
|
||||
kill -9 $i
|
||||
done
|
||||
|
Loading…
Reference in New Issue
Block a user