import double fix 6
This commit is contained in:
parent
4d7bf84b81
commit
cf8b731bb9
5
wire_g
5
wire_g
@ -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 \
|
||||
|
Loading…
x
Reference in New Issue
Block a user