From 7056791f5e0bc837c7f05d1986d29822e01bdfb7 Mon Sep 17 00:00:00 2001 From: Astu04 Date: Fri, 22 Dec 2023 22:54:21 +0100 Subject: [PATCH] Proper logging instead of echo --- custom/ATVServices.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/custom/ATVServices.sh b/custom/ATVServices.sh index 4803dac..fa60dc5 100644 --- a/custom/ATVServices.sh +++ b/custom/ATVServices.sh @@ -435,10 +435,8 @@ if result=$(check_mitmpkg); then # Check if the process is running and adjust I/O priority if found if [ -n "$BUSYBOX_PS_OUTPUT" ]; then - echo "com.nianticlabs.pokemongo is running. Adjusting I/O priority..." + log -p i -t eMagiskATVService "com.nianticlabs.pokemongo is running. Adjusting I/O priority..." ionice -p $(pidof com.nianticlabs.pokemongo) -c 0 -n 0 - else - echo "com.nianticlabs.pokemongo is not running." fi log -p i -t eMagiskATVService "Started health check!"