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

View File

@ -25,6 +25,7 @@ sudo sysctl net.ipv6.conf.all.disable_ipv6=0
# Restarting networking ensures IPv6 connectivity will return. # Restarting networking ensures IPv6 connectivity will return.
sudo systemctl restart iwd.service sudo systemctl restart iwd.service
sudo systemctl restart systemd-networkd.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 # 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 # for the new attempts. They are flushed in case of having private ECS aimed