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:
parent
60ab5bff4c
commit
f1e0304198
|
@ -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"
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue