test 7 remove

This commit is contained in:
Désiré Werner Menrath 2023-11-14 18:09:15 +01:00
parent 67c63633b2
commit 36378cf665

11
wire_g
View File

@ -89,13 +89,12 @@ import_wg(){
then then
wg_stop wg_stop
nmcli connection import type wireguard file $wgconf &> ${wg_wdir}.tmp.txt nmcli connection import type wireguard file $wgconf &> ${wg_wdir}.tmp.txt
wg_notify wg_notify && wire_g
else else
pkill yad pkill yad
nmcli connection import type wireguard file $wgconf &> ${wg_wdir}.tmp.txt nmcli connection import type wireguard file $wgconf &> ${wg_wdir}.tmp.txt
wg_notify wg_notify && wire_g
fi fi
wire_g
fi ;; fi ;;
*) yad --button=$"OK" --title=$"Wireguard .conf Select file" \ *) yad --button=$"OK" --title=$"Wireguard .conf Select file" \
@ -199,8 +198,8 @@ connect(){
then then
pkill yad pkill yad
nmcli con mod $selection connection.autoconnect no nmcli con mod $selection connection.autoconnect no
wg_notify wg_notify && wire_g
wire_g
fi } fi }
# function end # function end