[oe-commits] Holger Hans Peter Freyther : busybox:udhcpc: Start with a metric of 10 for routes
git at git.openembedded.org
git at git.openembedded.org
Tue Feb 24 17:42:51 UTC 2015
Module: openembedded-core.git
Branch: master
Commit: 566441f58d398d93f948067cf399d00cf3b37eba
URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=566441f58d398d93f948067cf399d00cf3b37eba
Author: Holger Hans Peter Freyther <holger at moiji-mobile.com>
Date: Sat Feb 21 21:13:07 2015 +0100
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 at moiji-mobile.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
meta/recipes-core/busybox/files/simple.script | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta/recipes-core/busybox/files/simple.script b/meta/recipes-core/busybox/files/simple.script
index 757e487..b294d57 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
More information about the Openembedded-commits
mailing list