- 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)
17 lines
285 B
Bash
Executable File
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
|