Files
zosbuilder/initramfs/etc/network/if-up.d/dad
Jan De Landtsheer ed98e24503 fix: Switch to space-separated sources.conf format
- Change from colon to space separation to avoid URL parsing issues
- Update sources.conf format: TYPE NAME URL VERSION BUILD_FUNCTION [EXTRA]
- Implement awk-based parsing for reliable field extraction
- Fix firmware package list (remove unavailable linux-firmware-marvell)
2025-08-31 13:26:05 +02:00

17 lines
285 B
Bash
Executable File

#!/bin/sh
# Block ifup until DAD completion
# Copyright (c) 2016-2018 Kaarle Ritvanen
has_flag() {
ip address show dev $IFACE up | grep -q " $1 "
}
counter=100
while [ "$counter" -gt 0 ] &&
has_flag tentative &&
! has_flag dadfailed; do
sleep 0.2
counter=$((counter - 1))
done