From 183cc57549ec1c59efb72540f19e513ae1f36a9c Mon Sep 17 00:00:00 2001 From: zeus Date: Wed, 12 May 2021 03:27:24 +0300 Subject: [PATCH] alpine admin --- hybrid/scripts/check-wg-connection.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hybrid/scripts/check-wg-connection.sh b/hybrid/scripts/check-wg-connection.sh index 32e7495..4b233b2 100755 --- a/hybrid/scripts/check-wg-connection.sh +++ b/hybrid/scripts/check-wg-connection.sh @@ -60,7 +60,7 @@ for f in /sys/class/net/swlab*; do IP=$(echo $AllowedIPs | cut -d'/' -f1) IP=$(nextip $IP) #echo $IP - if ping -q -w 1 -c 1 $IP > /dev/null; then + if ping -q -w 1 $IP > /dev/null; then setconfig=$(jq -c \ --arg key0 'ip' --arg ip "${AllowedIPs}" \ --arg key1 'publickey' --arg publickey $publickey \