mint.sh aktualisiert
This commit is contained in:
parent
2bc4735059
commit
043cbabbe9
6
mint.sh
6
mint.sh
@ -18,7 +18,11 @@ whoami | grep -q ^root$ || read x
|
|||||||
# Check for using DoHoT
|
# Check for using DoHoT
|
||||||
if [ -s /etc/dontusedohot ]
|
if [ -s /etc/dontusedohot ]
|
||||||
then
|
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
|
else
|
||||||
echo "[Resolve]
|
echo "[Resolve]
|
||||||
DNS=127.0.2.1
|
DNS=127.0.2.1
|
||||||
|
Loading…
Reference in New Issue
Block a user