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 ]]
|
if [[ -n $active ]]
|
||||||
then
|
then
|
||||||
wg_stop
|
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
|
wg_notify
|
||||||
else
|
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
|
wg_notify
|
||||||
fi
|
fi
|
||||||
fi }
|
fi }
|
||||||
|
Loading…
x
Reference in New Issue
Block a user