make udhcp wait for its interface to be ready
This commit is contained in:
parent
3677ab9cb3
commit
a34a3ade08
1 changed files with 1 additions and 0 deletions
|
@ -40,6 +40,7 @@ esac
|
||||||
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}";
|
||||||
|
dependencies = [ interface ];
|
||||||
}
|
}
|
||||||
|
|
||||||
# lease=86400
|
# lease=86400
|
||||||
|
|
Loading…
Reference in a new issue