netifd: add udhcpc link check to dhcp shell handler script
authorHans Dedecker <dedeckeh@gmail.com>
Thu, 1 Mar 2018 17:38:55 +0000 (18:38 +0100)
committerHans Dedecker <dedeckeh@gmail.com>
Fri, 2 Mar 2018 08:48:41 +0000 (09:48 +0100)
commit175b2623288957dc7087278d1e78a7eedb077f8f
tree0c092c0f12d8268fc9e304b5d0ee26a5f75cab68
parent9046e921aff8947600567134ad10d6451a1adaeb
netifd: add udhcpc link check to dhcp shell handler script

Fixes the assumption the busybox udhcpc applet is always enabled; in case
the symbolic link check fails the DHCP shell handler script will exit and
as result the DHCP protocol handler will not be registered in netifd.

Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
package/network/config/netifd/Makefile
package/network/config/netifd/files/lib/netifd/proto/dhcp.sh