Developing lightweight computation at the DSG edge

Commit faa944db authored by Roger Pueyo Centelles's avatar Roger Pueyo Centelles
Browse files

[qmp-system] Update hook for tl-wr841-v8 changes in LAN interface

parent b0df8be9
......@@ -26,7 +26,7 @@ include $(TOPDIR)/rules.mk
include $(INCLUDE_DIR)/kernel.mk
QMP_RELEASE?=trunk
QMP_PKGRELEASE=r20170831-2
QMP_PKGRELEASE=r20170831-3
QMP_CODENAME?=Kalimotxo
QMP_BUILDDATE:=$(shell date +%Y%m%d-%H%M)
......
......@@ -3,8 +3,10 @@
STAGE="$1"
[ "$STAGE" == "birth" ] && {
echo "Configuring eth0 as wan and eth1 as lan"
uci set qmp.interfaces.lan_devices="eth1"
echo "Configuring eth0 as wan+mesh and eth1.1 as lan+mesh"
uci set qmp.interfaces.lan_devices="eth1.1"
uci set qmp.interfaces.ignore_devices="eth1"
uci set qmp.interfaces.wan_devices="eth0"
uci set qmp.interfaces.mesh_devices="eth0 eth1.1"
uci commit qmp
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment