summaryrefslogtreecommitdiff
path: root/meta/recipes-core/busybox/files
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-23 18:00:12 +0000
commit566441f58d398d93f948067cf399d00cf3b37eba (patch)
tree9aee47fbe1a9aec9a93526dd2a4f0f14abf56331 /meta/recipes-core/busybox/files
parentf2588c55fb089371f239dde39efe9d63d8614062 (diff)
downloadopenembedded-core-566441f58d398d93f948067cf399d00cf3b37eba.tar.gz
openembedded-core-566441f58d398d93f948067cf399d00cf3b37eba.tar.bz2
openembedded-core-566441f58d398d93f948067cf399d00cf3b37eba.zip
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. Signed-off-by: Holger Hans Peter Freyther <holger@moiji-mobile.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/busybox/files')
-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
fi
fi
- metric=0
+ metric=10
for i in $router ; do
if [ $have_bin_ip -eq 1 ]; then
ip route add default via $i metric $metric