fix import for restart
This commit is contained in:
parent
16652ac21e
commit
1c342cdaf8
1
wire_g
1
wire_g
@ -108,6 +108,7 @@ import_wg(){
|
||||
nmcli connection import type wireguard file $WG_CONF &> ${WG_WDIR}.tmp.txt
|
||||
wg_notify
|
||||
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