diff --git a/mint.sh b/mint.sh index d8ecabb..431f75d 100644 --- a/mint.sh +++ b/mint.sh @@ -16,11 +16,11 @@ Nutzung auf einene Gefahr!!! Nur mit Enter/Return fortfahren wenn dieses Skript whoami | grep -q ^root$ || read x # Check for using DoHoT -if [ -e /etc/dnscrypt-proxy/blocked-names.txt ] +if [ -s /etc/dnscrypt-proxy/blocked-names.txt ] then if [ -s /etc/dontusedohot ] then - if [ -e /etc/systemd/resolved.conf.d/DoHoT.conf ] + if [ -s /etc/systemd/resolved.conf.d/DoHoT.conf ] then sudo rm -f /etc/systemd/resolved.conf.d/DoHoT.conf sudo systemctl restart systemd-resolved.service