From: Holger Hans Peter Freyther Date: Sat, 21 Feb 2015 20:13:07 +0000 (+0100) Subject: busybox:udhcpc: Start with a metric of 10 for routes X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~31121 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=566441f58d398d93f948067cf399d00cf3b37eba;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git 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 Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-core/busybox/files/simple.script b/meta/recipes-core/busybox/files/simple.script index 757e487b979..b294d57ef7e 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