init-ifupdown: fix interfaces order
The bridge example uses the wireless interface and it assumes that it is
initialized, so it must be placed after it.
https://jira.digi.com/browse/DEL-4823
Signed-off-by: Jose Diaz de Grenu <Jose.DiazdeGrenu@digi.com>
(cherry picked from commit d7c8fa4b9a)
This commit is contained in:
parent
47ece15f5d
commit
6c3dfad878
|
|
@ -30,7 +30,6 @@ do_install_append() {
|
|||
sed -i -e 's,##WLAN_P2P_INTERFACE##,${WLAN_P2P_INTERFACE},g' ${D}${sysconfdir}/network/interfaces
|
||||
fi
|
||||
fi
|
||||
cat ${WORKDIR}/interfaces.br0.example >> ${D}${sysconfdir}/network/interfaces
|
||||
|
||||
# Remove config entries if corresponding variable is not defined
|
||||
[ -z "${P2P0_STATIC_DNS}" ] && sed -i -e "/##P2P0_STATIC_DNS##/d" ${D}${sysconfdir}/network/interfaces
|
||||
|
|
@ -46,6 +45,10 @@ do_install_append() {
|
|||
sed -i -e "s,##WPA_DRIVER##,${WPA_DRIVER},g" ${D}${sysconfdir}/network/interfaces
|
||||
}
|
||||
|
||||
do_install_append_ccimx6sbc() {
|
||||
cat ${WORKDIR}/interfaces.br0.example >> ${D}${sysconfdir}/network/interfaces
|
||||
}
|
||||
|
||||
do_install_append_ccimx6ul() {
|
||||
install -d ${D}${base_bindir}
|
||||
install -m 0755 ${WORKDIR}/virtwlans.sh ${D}${base_bindir}
|
||||
|
|
@ -64,6 +67,8 @@ do_install_append_ccimx6ul() {
|
|||
sed -i -e "s,##WLAN1_STATIC_NETMASK##,${WLAN1_STATIC_NETMASK},g" ${D}${sysconfdir}/network/interfaces
|
||||
sed -i -e "s,##WLAN1_STATIC_GATEWAY##,${WLAN1_STATIC_GATEWAY},g" ${D}${sysconfdir}/network/interfaces
|
||||
sed -i -e "s,##WLAN1_STATIC_DNS##,${WLAN1_STATIC_DNS},g" ${D}${sysconfdir}/network/interfaces
|
||||
|
||||
cat ${WORKDIR}/interfaces.br0.example >> ${D}${sysconfdir}/network/interfaces
|
||||
}
|
||||
|
||||
# Disable wireless interfaces on first boot for non-wireless variants
|
||||
|
|
|
|||
Loading…
Reference in New Issue