import test

This commit is contained in:
Désiré Werner Menrath 2023-11-16 12:15:44 +01:00
parent 93bd95d039
commit 35bccd9744

3
wire_g
View File

@ -94,7 +94,8 @@ import_wg(){
nmcli connection import type wireguard file $WG_CONF &> ${WG_WDIR}.tmp.txt
wg_notify
else
pkill yad
IFS=$'\n' lines=( $(awk '{print $2}' ${WG_WDIR}Notify_PID.txt) ) # Dies zeigt auf die richtige pid
kill $lines
nmcli connection import type wireguard file $WG_CONF &> ${WG_WDIR}.tmp.txt
wg_notify
fi