From 7989fda162216cab6b0b6daf33523429a8706e34 Mon Sep 17 00:00:00 2001 From: punix Date: Sat, 18 Nov 2023 09:44:53 +0100 Subject: [PATCH] =?UTF-8?q?wait=20in=20RET=20hinzugef=C3=BCgt2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- wire_g | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/wire_g b/wire_g index 6e60c59..559f581 100755 --- a/wire_g +++ b/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