fix import for restart

This commit is contained in:
Désiré Werner Menrath 2023-11-22 18:23:38 +01:00
parent 16652ac21e
commit 1c342cdaf8

3
wire_g
View File

@ -107,7 +107,8 @@ import_wg(){
kill $lines
nmcli connection import type wireguard file $WG_CONF &> ${WG_WDIR}.tmp.txt
wg_notify
fi
fi
nmcli connection show --active | grep -iPo "(.*)(wireguard)" | sed 's/ .*//' &> ${WG_WDIR}onstart.txt
fi ;;
*) yad --image-on-top --image=${WG_PIC}wg-info.png --height=150 --width=240 \