forked from tfgrid/zosbuilder
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:
37
initramfs/usr/lib/dhcpcd/dhcpcd-hooks/01-test
Normal file
37
initramfs/usr/lib/dhcpcd/dhcpcd-hooks/01-test
Normal file
@@ -0,0 +1,37 @@
|
||||
# Echo the interface flags, reason and message options
|
||||
|
||||
if [ "$reason" = "TEST" ]; then
|
||||
# General variables at the top
|
||||
set | while read line; do
|
||||
case "$line" in
|
||||
interface=*|pid=*|reason=*|protocol=*|profile=*|skip_hooks=*)
|
||||
echo "$line";;
|
||||
esac
|
||||
done
|
||||
# Interface flags
|
||||
set | while read line; do
|
||||
case "$line" in
|
||||
ifcarrier=*|ifflags=*|ifmetric=*|ifmtu=*|ifwireless=*|ifssid=*)
|
||||
echo "$line";;
|
||||
esac
|
||||
done
|
||||
# Old lease
|
||||
set | while read line; do
|
||||
case "$line" in
|
||||
old_*) echo "$line";;
|
||||
esac
|
||||
done
|
||||
# New lease
|
||||
set | while read line; do
|
||||
case "$line" in
|
||||
new_*) echo "$line";;
|
||||
esac
|
||||
done
|
||||
# Router Advertisements
|
||||
set | while read line; do
|
||||
case "$line" in
|
||||
nd[0-9]*_*) echo "$line";;
|
||||
esac
|
||||
done
|
||||
exit 0
|
||||
fi
|
||||
Reference in New Issue
Block a user