exit 0 & wire_g test

This commit is contained in:
Désiré Werner Menrath 2023-11-09 17:52:04 +01:00
parent 43f5396703
commit a3e72a9d40

2
wire_g
View File

@ -97,7 +97,7 @@ import_wg(){
--image=${wg_pic}wg-info.png --button "OK" \ --image=${wg_pic}wg-info.png --button "OK" \
--text "Tunnelname existiert schon." \ --text "Tunnelname existiert schon." \
--text-align=center --title=$"Wireguard .conf Select file" --text-align=center --title=$"Wireguard .conf Select file"
exit 0 exit 0 & wire_g
done done
active=$(nmcli connection show --active | grep -iPo "(.*)(wireguard)" | sed 's/ .*//') active=$(nmcli connection show --active | grep -iPo "(.*)(wireguard)" | sed 's/ .*//')
if [[ -n $active ]] if [[ -n $active ]]