bash/usr-local-bin: add nordvpn-off

This commit is contained in:
Aminda Suomalainen 2024-04-20 07:40:34 +03:00
parent b11fab004a
commit 6c64f489e0
Signed by: Mikaela
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q
1 changed files with 11 additions and 0 deletions

11
bash/usr-local-bin/nordvpn-off Executable file
View File

@ -0,0 +1,11 @@
#!/usr/bin/env bash
set -x
nordvpn set killswitch off
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
set +x