udhcpc notify when ready

This commit is contained in:
Daniel Barlow 2023-03-07 19:06:40 +00:00
parent f9f9720ba7
commit 06687a819a

View file

@ -31,6 +31,7 @@ let
bound)
# this doesn't actually replace, it adds a new address.
set_address
echo >/proc/self/fd/10
;;
renew)
set_address
@ -43,6 +44,7 @@ let
in longrun {
inherit name;
run = "${busybox}/bin/udhcpc -f -i ${interface.device} -s ${script}";
notification-fd = 10;
dependencies = [ interface ];
}