forked from DGNum/liminix
udhcpc notify when ready
This commit is contained in:
parent
f9f9720ba7
commit
06687a819a
1 changed files with 2 additions and 0 deletions
|
@ -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 ];
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue