From 06687a819a46aa721b3886e0c6af4959e7b4a334 Mon Sep 17 00:00:00 2001 From: Daniel Barlow Date: Tue, 7 Mar 2023 19:06:40 +0000 Subject: [PATCH] udhcpc notify when ready --- pkgs/liminix-tools/networking/udhcpc.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/liminix-tools/networking/udhcpc.nix b/pkgs/liminix-tools/networking/udhcpc.nix index efb5cc4c..482260e0 100644 --- 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 ]; }