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
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