scripts/bash/usr-local-bin/nordvpn-off

18 lines
429 B
Plaintext
Raw Normal View History

2024-04-20 06:40:34 +02:00
#!/usr/bin/env bash
set -x
nordvpn set killswitch off
nordvpn set autoconnect off
2024-04-20 06:40:34 +02:00
nordvpn disconnect
sudo systemctl stop nordvpnd.socket
sudo systemctl stop nordvpnd.service
sudo systemctl restart yggdrasil.service
sudo systemctl restart iwd.service
sudo systemctl restart systemd-networkd.service
2024-04-20 10:56:32 +02:00
sleep 5
sudo systemctl restart unbound.service
sudo systemctl restart systemd-resolved.service
sleep 5
2024-04-20 10:56:32 +02:00
sudo chronyc online
2024-04-20 06:40:34 +02:00
set +x