wait in RET hinzugefügt2
This commit is contained in:
parent
090445ff04
commit
7989fda162
4
wire_g
4
wire_g
@ -233,12 +233,14 @@ RET=$?
|
||||
if [[ $RET -eq 2 ]]
|
||||
then
|
||||
up_or_down
|
||||
wait
|
||||
wire_g
|
||||
fi
|
||||
|
||||
if [[ $RET -eq 3 ]]
|
||||
then
|
||||
import_wg
|
||||
wait
|
||||
wire_g
|
||||
fi
|
||||
|
||||
@ -262,10 +264,12 @@ if [[ $RET -eq 0 ]]
|
||||
wg_stop
|
||||
nmcli connection up $SELECTION &> ${WG_WDIR}.tmp.txt
|
||||
connect
|
||||
wait
|
||||
wire_g
|
||||
else
|
||||
nmcli connection up $SELECTION &> ${WG_WDIR}.tmp.txt
|
||||
connect
|
||||
wait
|
||||
wire_g
|
||||
fi
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user