I'm trying to configure the DHCP client (udhcpc), but can't find where it is initialized.
Right now I can see that I have following udhcpc command running:
udhcpc -R -n -p /var/run/udhcpc.eth0.pid -i eth0
But it looks like it won't continue to try requesting an IP address if it failed.
In our case we will always have a link but it could be that it might not be able to access the DHCP server right after boot up.
We want the DHCP client to continue to request for an IP address, until it succeeded.
What I can see from the description of udhcpc I should use following command:
udhcpc -R -A -p /var/run/udhcpc.eth0.pid -i eth
But I can't find where this command is initialized during boot up (using Yocto)