fix import for restart
This commit is contained in:
parent
16652ac21e
commit
1c342cdaf8
3
wire_g
3
wire_g
@ -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 \
|
||||
|
Loading…
x
Reference in New Issue
Block a user