commit 06687a819a46aa721b3886e0c6af4959e7b4a334
parent f9f9720ba7fc7e72ec639e69fc68e2354c735637
Author: Daniel Barlow <dan@telent.net>
Date: Tue, 7 Mar 2023 19:06:40 +0000
udhcpc notify when ready
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/pkgs/liminix-tools/networking/udhcpc.nix b/pkgs/liminix-tools/networking/udhcpc.nix
@@ -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 ];
}