Update create.sh

This commit is contained in:
Blackwhitebear8 2024-12-09 15:41:02 +01:00
parent 5d464d2a53
commit 733459315c

View file

@ -253,7 +253,6 @@ while [ -z "$ETH0_STATS" ] && [ $ATTEMPT -lt $MAX_ATTEMPTS ]; do
ETH0_STATS=$(echo "$IP_INFO" | jq -r '.[] | select(.name == "eth0" and .statistics != null)') ETH0_STATS=$(echo "$IP_INFO" | jq -r '.[] | select(.name == "eth0" and .statistics != null)')
if [ -n "$ETH0_STATS" ]; then if [ -n "$ETH0_STATS" ]; then
echo "Valid IP and statistics found for eth0!"
break # Als eth0 statistieken heeft, stop de poging break # Als eth0 statistieken heeft, stop de poging
else else
echo "No valid statistics found for eth0. Retrying..." echo "No valid statistics found for eth0. Retrying..."