From de969181dc805719b793846e38bfa4b2a89b56eb Mon Sep 17 00:00:00 2001 From: Aminda Suomalainen Date: Wed, 24 Apr 2024 11:08:06 +0300 Subject: [PATCH] usr-local-bin/nordvpns: note autoconnect too --- bash/usr-local-bin/nordvpn-off | 1 + bash/usr-local-bin/qbittorrent | 1 + 2 files changed, 2 insertions(+) diff --git a/bash/usr-local-bin/nordvpn-off b/bash/usr-local-bin/nordvpn-off index d5d36c2..b28dde2 100755 --- a/bash/usr-local-bin/nordvpn-off +++ b/bash/usr-local-bin/nordvpn-off @@ -2,6 +2,7 @@ set -x nordvpn set killswitch off +nordvpn set autoconnect off nordvpn disconnect sudo systemctl stop nordvpnd.socket sudo systemctl stop nordvpnd.service diff --git a/bash/usr-local-bin/qbittorrent b/bash/usr-local-bin/qbittorrent index 909bebe..3e7e440 100755 --- a/bash/usr-local-bin/qbittorrent +++ b/bash/usr-local-bin/qbittorrent @@ -8,6 +8,7 @@ sleep 5 systemctl status nordvpnd.service --no-pager nordvpn connect p2p nordvpn set killswitch on +nordvpn set autoconnect on nordvpn status sudo systemctl restart yggdrasil.service flatpak run org.qbittorrent.qBittorrent "$@"