Skip to content

Commit

Permalink
Give prio to pogo lane
Browse files Browse the repository at this point in the history
  • Loading branch information
Astu04 authored Mar 13, 2024
1 parent fcec3c9 commit 0c61be9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions custom/ATVServices.sh
Original file line number Diff line number Diff line change
Expand Up @@ -424,6 +424,8 @@ if result=$(check_mitmpkg); then
if [ -n "$BUSYBOX_PS_OUTPUT" ]; then
log -p i -t eMagiskATVService "com.nianticlabs.pokemongo is running. Adjusting I/O priority..."
ionice -p $(pidof com.nianticlabs.pokemongo) -c 0 -n 0
pids=$(/data/adb/magisk/busybox ps -T | /data/adb/magisk/busybox grep pokemongo | /data/adb/magisk/busybox cut -d' ' -f1 | /data/adb/magisk/busybox xargs)
for i in $pids; do /data/adb/magisk/busybox chrt -r -p 99 $i & done
fi

if [ -n "$rdm_user" ] && [ -n "$rdm_password" ] && [ -n "$rdm_backend" ]; then # In case rdm variables are confiugred
Expand Down

0 comments on commit 0c61be9

Please sign in to comment.