From 57d4cc0ac1b24da0d0f46182ad0a40f63037be39 Mon Sep 17 00:00:00 2001 From: punix Date: Fri, 17 Nov 2023 21:35:13 +0100 Subject: [PATCH] import double fix 8 --- .stop.txt | 2 ++ tunnel.txt | 4 ++++ wire_g | 2 -- 3 files changed, 6 insertions(+), 2 deletions(-) create mode 100644 .stop.txt create mode 100644 tunnel.txt diff --git a/.stop.txt b/.stop.txt new file mode 100644 index 0000000..3d0b428 --- /dev/null +++ b/.stop.txt @@ -0,0 +1,2 @@ +Fehler: »wg_config« ist keine aktive Verbindung. +Fehler: Keine aktive Verbindung angegeben. diff --git a/tunnel.txt b/tunnel.txt new file mode 100644 index 0000000..5d9091c --- /dev/null +++ b/tunnel.txt @@ -0,0 +1,4 @@ +peer_ipunix +peer_asus +peer_hjkvpn +wg_config diff --git a/wire_g b/wire_g index 95e63c5..6ba7cb1 100755 --- a/wire_g +++ b/wire_g @@ -102,12 +102,10 @@ import_wg(){ then wg_stop nmcli connection import type wireguard file $WG_CONF &> ${WG_WDIR}.tmp.txt - wait wg_notify else kill $lines nmcli connection import type wireguard file $WG_CONF &> ${WG_WDIR}.tmp.txt - wait wg_notify fi fi ;;