1 --- a/package/busybox/busybox-01-ifupdown-cirros.patch 1970-01-01 01:00:00.000000000 +0100
2 +++ b/package/busybox/busybox-01-ifupdown-cirros.patch 2014-07-30 11:49:02.213528074 +0200
4 +Busybox tries several dhcpclients in a specific order, if one is found as
5 +executable it gets the honor of asking for an address. By adding cirros as the
6 +first option we make sure the /sbin/ifupdown script is used.
7 +This depends heavily on CONFIG_FEATURE_IFUPDOWN_EXTERNAL_DHCP=y.
9 +--- a/networking/ifupdown.c 2014-07-30 11:38:03.708210386 +0200
10 ++++ b/networking/ifupdown.c 2014-07-30 11:38:24.106941433 +0200
14 + static const struct dhcp_client_t ext_dhcp_clients[] = {
16 ++ "cirros-dhcpc up %iface%",
17 ++ "cirros-dhcpc down %iface%",
20 + "dhcpcd[[ -h %hostname%]][[ -i %vendor%]][[ -I %client%]][[ -l %leasetime%]] %iface%",
21 + "dhcpcd -k %iface%",