From 36378cf665c803e573ff0b632800ec24a5f80f49 Mon Sep 17 00:00:00 2001 From: punix Date: Tue, 14 Nov 2023 18:09:15 +0100 Subject: [PATCH] test 7 remove --- wire_g | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/wire_g b/wire_g index 635cf10..aef91db 100755 --- a/wire_g +++ b/wire_g @@ -89,13 +89,12 @@ import_wg(){ then wg_stop nmcli connection import type wireguard file $wgconf &> ${wg_wdir}.tmp.txt - wg_notify + wg_notify && wire_g else pkill yad nmcli connection import type wireguard file $wgconf &> ${wg_wdir}.tmp.txt - wg_notify - fi - wire_g + wg_notify && wire_g + fi fi ;; *) yad --button=$"OK" --title=$"Wireguard .conf Select file" \ @@ -199,8 +198,8 @@ connect(){ then pkill yad nmcli con mod $selection connection.autoconnect no - wg_notify - wire_g + wg_notify && wire_g + fi } # function end