diff options
author | Xiao Pan <xyz@flylightning.xyz> | 2025-07-13 22:46:56 +0800 |
---|---|---|
committer | Xiao Pan <xyz@flylightning.xyz> | 2025-07-13 22:46:56 +0800 |
commit | 44cb94c3e7a3de0504f0cc8810b9177e976b6d26 (patch) | |
tree | d0d204f34ef19a606594b037b02ad147590d2475 | |
parent | c5acab5e90628a7cf5fc02a69135a7539fc1970b (diff) |
vpn: remove more xyzaa VPS related code because I removed aa
-rwxr-xr-x | sh/vpn | 3 |
1 files changed, 0 insertions, 3 deletions
@@ -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" |