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.
This commit is contained in:
Holger Hans Peter Freyther 2015-02-14 19:39:47 +01:00
parent 60ab5bff4c
commit f1e0304198
2 changed files with 2 additions and 2 deletions

View File

@ -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"

View File

@ -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