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)
This commit is contained in:
16
initramfs/etc/network/if-up.d/dad
Executable file
16
initramfs/etc/network/if-up.d/dad
Executable file
@@ -0,0 +1,16 @@
|
||||
#!/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
|
||||
Reference in New Issue
Block a user