mirror of
https://gitea.blesmrt.net/mikaela/scripts.git
synced 2024-11-14 20:49:23 +01:00
bash/usr-local-bin: add nordvpn-off
This commit is contained in:
parent
b11fab004a
commit
6c64f489e0
11
bash/usr-local-bin/nordvpn-off
Executable file
11
bash/usr-local-bin/nordvpn-off
Executable 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
|
Loading…
Reference in New Issue
Block a user