From 16652ac21e48cbd47a4ae87700d94718ead08ed2 Mon Sep 17 00:00:00 2001 From: punix Date: Wed, 22 Nov 2023 18:19:54 +0100 Subject: [PATCH] add sleep 2 to wg_notify --- wire_g | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wire_g b/wire_g index 8e82095..310c4db 100755 --- a/wire_g +++ b/wire_g @@ -37,7 +37,7 @@ ACTIVE=$(nmcli connection show --active | grep -iPo "(.*)(wireguard)" | sed 's/ ############################################################################################################ wg_notify(){ - + sleep 2 nmcli connection show --active | grep -iPo "(.*)(wireguard)" | sed 's/ .*//' &> ${WG_WDIR}onstart.txt ACTIVE=$(nmcli connection show --active | grep -iPo "(.*)(wireguard)" | sed 's/ .*//') case $LANG in