From f1e030419861b90cd0274a71fe7180804b8ccdca Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Sat, 14 Feb 2015 19:39:47 +0100 Subject: [PATCH] busybox/50default: Start with the metric of 10 for the IDU For wlan and ppp we want to be able to install another default route and this is only possible if we can use smaller metrics. --- recipes-core/busybox/busybox_sysmocom.inc | 2 +- recipes-core/busybox/files/sysmocom-idu/simple.script | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/recipes-core/busybox/busybox_sysmocom.inc b/recipes-core/busybox/busybox_sysmocom.inc index 13637d3..11f0941 100644 --- a/recipes-core/busybox/busybox_sysmocom.inc +++ b/recipes-core/busybox/busybox_sysmocom.inc @@ -1,6 +1,6 @@ SYSMOCOM := "${@os.path.dirname(bb.data.getVar('FILE', d, True))}" FILESEXTRAPATHS_prepend := "${SYSMOCOM}/busybox-${SYSMOCOM_ORIG_PV}:${SYSMOCOM}/files:" -PRINC = "23" +PRINC = "24" SRC_URI += "file://busybox-ifplugd.sh \ file://ifplugd.sh" diff --git a/recipes-core/busybox/files/sysmocom-idu/simple.script b/recipes-core/busybox/files/sysmocom-idu/simple.script index 78ac424..3e304b9 100644 --- a/recipes-core/busybox/files/sysmocom-idu/simple.script +++ b/recipes-core/busybox/files/sysmocom-idu/simple.script @@ -54,7 +54,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