I am developing an embedded device based on Linux and Busybox, and trying to make it adaptable to different network configurations. I want to:
1- At boot time, if there is no DHCP reply, use an AutioIP address.
2- At run time, if a DHCP server become available, start using it.
Point 1 seems easy as I can set my eth0 to manual in my /etc/network/interfaces, and set up command to
udhcpc eth0 --now || zcip eth0 /etc/zcip.script
I am not sure of point 2. If I run both udhcpc and zcip daemons simultaneously, would they play well together?