br0: move the br0 interface to the bottom

This interface should be the last item defined in the
/etc/network/interfaces file.

When you try to enable the interface br0 (bridge interface),
all the other interfaces should be available.
If the br0 interface is located before the other interfaces
involved in the bridge, it will fail.

Signed-off-by: Francisco Gil <francisco.gilmartinez@digi.com>
This commit is contained in:
Francisco Gil 2020-02-13 08:58:20 +01:00
parent d485af020a
commit 1d91d3411b
1 changed files with 2 additions and 2 deletions

View File

@ -57,13 +57,13 @@ do_install_append() {
sed -i -e "s,##P2P0_STATIC_DNS##,${P2P0_STATIC_DNS},g" ${D}${sysconfdir}/network/interfaces
sed -i -e "s,##WPA_DRIVER##,${WPA_DRIVER},g" ${D}${sysconfdir}/network/interfaces
cat ${WORKDIR}/interfaces.br0.example >> ${D}${sysconfdir}/network/interfaces
# Install virtual wlans files
if ${HAS_WIFI_VIRTWLANS}; then
install_virtwlans
install_wlan1
fi
cat ${WORKDIR}/interfaces.br0.example >> ${D}${sysconfdir}/network/interfaces
}
install_virtwlans() {