wait in RET hinzugefügt2

This commit is contained in:
Désiré Werner Menrath 2023-11-18 09:44:53 +01:00
parent 090445ff04
commit 7989fda162

4
wire_g
View File

@ -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