mint.sh aktualisiert
This commit is contained in:
parent
7a2662cf1a
commit
f3a5839cc2
4
mint.sh
4
mint.sh
@ -16,11 +16,11 @@ Nutzung auf einene Gefahr!!! Nur mit Enter/Return fortfahren wenn dieses Skript
|
|||||||
whoami | grep -q ^root$ || read x
|
whoami | grep -q ^root$ || read x
|
||||||
|
|
||||||
# Check for using DoHoT
|
# Check for using DoHoT
|
||||||
if [ -e /etc/dnscrypt-proxy/blocked-names.txt ]
|
if [ -s /etc/dnscrypt-proxy/blocked-names.txt ]
|
||||||
then
|
then
|
||||||
if [ -s /etc/dontusedohot ]
|
if [ -s /etc/dontusedohot ]
|
||||||
then
|
then
|
||||||
if [ -e /etc/systemd/resolved.conf.d/DoHoT.conf ]
|
if [ -s /etc/systemd/resolved.conf.d/DoHoT.conf ]
|
||||||
then
|
then
|
||||||
sudo rm -f /etc/systemd/resolved.conf.d/DoHoT.conf
|
sudo rm -f /etc/systemd/resolved.conf.d/DoHoT.conf
|
||||||
sudo systemctl restart systemd-resolved.service
|
sudo systemctl restart systemd-resolved.service
|
||||||
|
Loading…
Reference in New Issue
Block a user