summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <holger@moiji-mobile.com>2015-02-21 21:13:08 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-02-24 17:41:44 +0000
commitf7c45a4f747131c0c36bf3e278247746dacc6592 (patch)
treeede842f468b762f31e7d19f17a9b94752f509973 /meta
parent48fa8684dd139f4bd8a4949cc41a01532eded4de (diff)
downloadpoky-f7c45a4f747131c0c36bf3e278247746dacc6592.tar.gz
busybox:udhcpc: Remove the routes from the right interface
When using iproute2 to remove the route all default rules will be removed. Scope the removal by interface like it is done with ifconfig. (From OE-Core rev: 2127a57cb1b3d83f9f7640051403e47e485b132c) Signed-off-by: Holger Hans Peter Freyther <holger@moiji-mobile.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-core/busybox/files/simple.script2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-core/busybox/files/simple.script b/meta/recipes-core/busybox/files/simple.script
index b294d57ef7..22168b07e6 100644
--- a/meta/recipes-core/busybox/files/simple.script
+++ b/meta/recipes-core/busybox/files/simple.script
@@ -46,7 +46,7 @@ case "$1" in
46 if [ -n "$router" ] ; then 46 if [ -n "$router" ] ; then
47 if ! root_is_nfs ; then 47 if ! root_is_nfs ; then
48 if [ $have_bin_ip -eq 1 ]; then 48 if [ $have_bin_ip -eq 1 ]; then
49 while ip route del default 2>/dev/null ; do 49 while ip route del default dev $interface 2>/dev/null ; do
50 : 50 :
51 done 51 done
52 else 52 else