import funktion von > zu 2> geändert
This commit is contained in:
parent
5b1a43c016
commit
925a358fca
4
wire_g
4
wire_g
@ -84,10 +84,10 @@ import_wg(){
|
||||
if [[ -n $active ]]
|
||||
then
|
||||
wg_stop
|
||||
nmcli connection import type wireguard file $wgconf > ${wg_wdir}.tmp.txt
|
||||
nmcli connection import type wireguard file $wgconf 2> ${wg_wdir}.tmp.txt
|
||||
wg_notify
|
||||
else
|
||||
nmcli connection import type wireguard file $wgconf > ${wg_wdir}.tmp.txt
|
||||
nmcli connection import type wireguard file $wgconf 2> ${wg_wdir}.tmp.txt
|
||||
wg_notify
|
||||
fi
|
||||
fi }
|
||||
|
Loading…
x
Reference in New Issue
Block a user