From 043cbabbe9dcc51193bd7fde26ac1b6ad1cc2882 Mon Sep 17 00:00:00 2001 From: olli Date: Fri, 28 Jul 2023 16:43:51 +0200 Subject: [PATCH] mint.sh aktualisiert --- mint.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/mint.sh b/mint.sh index 9d2a67a..59a2696 100644 --- a/mint.sh +++ b/mint.sh @@ -18,7 +18,11 @@ whoami | grep -q ^root$ || read x # Check for using DoHoT if [ -s /etc/dontusedohot ] then - [ -s /etc/systemd/resolved.conf.d/DoHoT.conf ] && rm -f /etc/systemd/resolved.conf.d/DoHoT.conf + if [ -e /etc/systemd/resolved.conf.d/DoHoT.conf ] + then + sudo rm -f /etc/systemd/resolved.conf.d/DoHoT.conf + sudo systemctl restart systemd-resolved.service + fi else echo "[Resolve] DNS=127.0.2.1