exit & more

This commit is contained in:
Désiré Werner Menrath 2023-11-09 18:42:30 +01:00
parent 2c3354f28d
commit 356bba4a7c

2
wire_g
View File

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