2
0

remove dhcpc readiness notification

because there's an ugly deadlock. s6-rc won't start anything else
while waiting for int.link.dhcpc to announce it's ready, and the
-running service needs to call s6-rc to launch the scripts that add
members to the bridge. dhcpc won't work until the bridge has a member
This commit is contained in:
2025-10-31 21:46:21 +00:00
parent 19360eca57
commit 574c95640b
+2 -3
View File
@@ -28,7 +28,7 @@ let
bound)
# this doesn't actually replace, it adds a new address.
set_address
echo >/proc/self/fd/10
# echo >/proc/self/fd/10
;;
renew)
set_address
@@ -41,7 +41,6 @@ let
in
longrun {
inherit name;
run = "exec /bin/udhcpc -f -i $(output ${interface} ifname) -x hostname:$(cat /proc/sys/kernel/hostname) -s ${script}";
notification-fd = 10;
run = "exec /bin/udhcpc -n -A 15 -f -i $(output ${interface} ifname) -x hostname:$(cat /proc/sys/kernel/hostname) -s ${script}";
dependencies = [ interface ];
}