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