1
0
mirror of https://gitea.blesmrt.net/mikaela/scripts.git synced 2025-04-08 17:17:49 +02:00

nordvpn-off: also restart NetworkManager

This commit is contained in:
Aminda Suomalainen 2024-08-13 07:09:14 +03:00
parent 39573b450c
commit b858379a09
Signed by: Mikaela
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q

@ -25,6 +25,7 @@ sudo sysctl net.ipv6.conf.all.disable_ipv6=0
# Restarting networking ensures IPv6 connectivity will return.
sudo systemctl restart iwd.service
sudo systemctl restart systemd-networkd.service
sudo systemctl restart NetworkManager.service
# A bit of sleeping before flushing DNS caches, so we are surely connected
# for the new attempts. They are flushed in case of having private ECS aimed