From 560337439dd1ffa65d4ce5b820c44400f28f5efd Mon Sep 17 00:00:00 2001 From: notheowner <86596679+notheowner@users.noreply.github.com> Date: Fri, 7 Feb 2025 16:39:04 +0200 Subject: [PATCH] ATVServices: Stick to device defaults for DNS --- custom/ATVServices.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/custom/ATVServices.sh b/custom/ATVServices.sh index 8260f6d..12ba2d6 100644 --- a/custom/ATVServices.sh +++ b/custom/ATVServices.sh @@ -4,7 +4,8 @@ POGOPKG=com.nianticlabs.pokemongo CONFIGFILE='/data/local/tmp/emagic.config' logfile=/data/local/tmp/emagic.log -setprop net.dns1 1.1.1.1 && setprop net.dns2 8.8.8.8 +# Default to ROM's DNS settings for now. +# setprop net.dns1 1.1.1.1 && setprop net.dns2 8.8.8.8 # Check if $CONFIGFILE exists and has data. get_config() { @@ -276,7 +277,7 @@ if ! [ -z "$MITMPKG" ]; then sleep_duration=120 sleep $((sleep_duration + $RANDOM % 10)) if [[ $counter -gt 3 ]]; then - log "Count threshold of $counter reached. Rebooting device..." + log "Restart threshold of $counter reached. Rebooting device..." webhook "Restart threshold of $counter reached. Rebooting device..." reboot sleep 60 # In case reboot takes too long for some reason