summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsh/vpn3
1 files changed, 0 insertions, 3 deletions
diff --git a/sh/vpn b/sh/vpn
index a7387ac..eb3f1cf 100755
--- a/sh/vpn
+++ b/sh/vpn
@@ -20,9 +20,6 @@ if nmcli -t --fields device,state device | grep -q "^wg_$1:connected$"; then
nmcli connection up wg_master
notify-send -u critical "$1 VPN disabled"
else
- if [ "$1" = aa ]; then
- /usr/bin/alacritty -T aa --hold -e sh -c 'echo "Wait for aa sudo prompt and enter password, then manually close this window"; ssh -t aawg "sudo systemctl stop wg-quick@wg_ib && sudo systemctl start wg-quick@wg0"'
- fi
down_not_master
nmcli connection down wg_master
nmcli connection up "wg_$1"