From 6c64f489e05dcf4bbf09337f274e282f436aebf1 Mon Sep 17 00:00:00 2001 From: Aminda Suomalainen Date: Sat, 20 Apr 2024 07:40:34 +0300 Subject: [PATCH] bash/usr-local-bin: add nordvpn-off --- bash/usr-local-bin/nordvpn-off | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100755 bash/usr-local-bin/nordvpn-off diff --git a/bash/usr-local-bin/nordvpn-off b/bash/usr-local-bin/nordvpn-off new file mode 100755 index 0000000..ac696a3 --- /dev/null +++ b/bash/usr-local-bin/nordvpn-off @@ -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