summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <holger@moiji-mobile.com>2015-02-21 21:13:07 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-02-24 17:41:44 +0000
commit48fa8684dd139f4bd8a4949cc41a01532eded4de (patch)
treec3e093a297d4fb34b0f0d6f455eef0b728a81df1 /meta
parent0e04c93baee6539874e786aa0c7ac0a6369ce7d4 (diff)
downloadpoky-48fa8684dd139f4bd8a4949cc41a01532eded4de.tar.gz
busybox:udhcpc: Start with a metric of 10 for routes
Linux allows to install multiple default routes with different metrics. Start with a metric above 0 to allow other parts of the system to install routes with a lower metric. (From OE-Core rev: 566441f58d398d93f948067cf399d00cf3b37eba) 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 757e487b97..b294d57ef7 100644
--- a/meta/recipes-core/busybox/files/simple.script
+++ b/meta/recipes-core/busybox/files/simple.script
@@ -56,7 +56,7 @@ case "$1" in
56 fi 56 fi
57 fi 57 fi
58 58
59 metric=0 59 metric=10
60 for i in $router ; do 60 for i in $router ; do
61 if [ $have_bin_ip -eq 1 ]; then 61 if [ $have_bin_ip -eq 1 ]; then
62 ip route add default via $i metric $metric 62 ip route add default via $i metric $metric