import double fix 6

This commit is contained in:
Désiré Werner Menrath 2023-11-17 21:26:55 +01:00
parent 4d7bf84b81
commit cf8b731bb9

5
wire_g
View File

@ -92,7 +92,7 @@ import_wg(){
--timeout-indicator=bottom --skip-taskbar
import_wg
else
case "$WG_CONF" in
*_*.conf) if grep -i 'PEER\|PublicKey' $WG_CONF > /dev/null && grep -i 'Interface\|PrivateKey' $WG_CONF > /dev/null
@ -109,7 +109,8 @@ import_wg(){
nmcli connection import type wireguard file $WG_CONF &> ${WG_WDIR}.tmp.txt
wait
wg_notify
fi ;;
fi
fi ;;
*) yad --image-on-top --image=${WG_PIC}wg-info.png --height=150 --width=240 \
--text-align=center --undecorated --skip-taskbar \