import double fix 8
This commit is contained in:
parent
7f0aa7c49a
commit
57d4cc0ac1
2
.stop.txt
Normal file
2
.stop.txt
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
Fehler: »wg_config« ist keine aktive Verbindung.
|
||||||
|
Fehler: Keine aktive Verbindung angegeben.
|
4
tunnel.txt
Normal file
4
tunnel.txt
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
peer_ipunix
|
||||||
|
peer_asus
|
||||||
|
peer_hjkvpn
|
||||||
|
wg_config
|
2
wire_g
2
wire_g
@ -102,12 +102,10 @@ import_wg(){
|
|||||||
then
|
then
|
||||||
wg_stop
|
wg_stop
|
||||||
nmcli connection import type wireguard file $WG_CONF &> ${WG_WDIR}.tmp.txt
|
nmcli connection import type wireguard file $WG_CONF &> ${WG_WDIR}.tmp.txt
|
||||||
wait
|
|
||||||
wg_notify
|
wg_notify
|
||||||
else
|
else
|
||||||
kill $lines
|
kill $lines
|
||||||
nmcli connection import type wireguard file $WG_CONF &> ${WG_WDIR}.tmp.txt
|
nmcli connection import type wireguard file $WG_CONF &> ${WG_WDIR}.tmp.txt
|
||||||
wait
|
|
||||||
wg_notify
|
wg_notify
|
||||||
fi
|
fi
|
||||||
fi ;;
|
fi ;;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user