]> code.ossystems Code Review - openembedded-core.git/commit
busybox: Support DHCP refresh without restarting the interface
authorMark Hatle <mark.hatle@windriver.com>
Fri, 4 Feb 2011 01:29:50 +0000 (19:29 -0600)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 7 Feb 2011 16:52:41 +0000 (16:52 +0000)
commit427472e980cd6254a5e4ef37209b327e15af259b
tree3e49401693b1b6b0334cd69e90cb763d5bbd660b
parent5ade6c7de84893b4f94f7c068d775beeaecb9f5f
busybox: Support DHCP refresh without restarting the interface

When the kernel is started using ip=dhcp, we want a way to be able to run
the udhcp client within busybox and not reset the interface.

When using the '-D' option to udhcpc, the defconfig script will be skipped
allowing the refresh without changing the network settings.

Also provide an initscript that can be used to detect ip=dhcp on the
kernel command line, if detected it will refresh the lease and set the
proper resolve.conf and related files, but not reset the interface.

Original code in Wind River Linux by Greg Moffatt <greg.moffat@windriver.com>

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
meta/recipes-core/busybox/busybox-1.17.3/busybox-udhcpc-no_deconfig.patch [new file with mode: 0644]
meta/recipes-core/busybox/busybox.inc
meta/recipes-core/busybox/busybox_1.17.3.bb
meta/recipes-core/busybox/files/busybox-udhcpc [new file with mode: 0755]