Update 05-wpn.sh

This commit is contained in:
Alexandre
2023-12-15 18:15:13 +01:00
committed by GitHub
parent a011e5a90a
commit 9fef7baeea

View File

@@ -9,7 +9,7 @@ counter=0
until [ "$counter" -gt 10 ]
do
echo "... waiting until vpn is up"
ping -c 1 "1.1.1.1" &> /dev/null && exit 0 || true
( ping -c 1 "1.1.1.1" &> /dev/null ) && exit 0 || true
((counter++))
sleep 5
done