Developing lightweight computation at the DSG edge
Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Quick Mesh Project
qMp packages
Commits
faa944db
Commit
faa944db
authored
Aug 31, 2017
by
Roger Pueyo Centelles
Browse files
[qmp-system] Update hook for tl-wr841-v8 changes in LAN interface
parent
b0df8be9
Changes
2
Hide whitespace changes
Inline
Side-by-side
packages/qmp-system/Makefile
View file @
faa944db
...
...
@@ -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
)
...
...
packages/qmp-system/files/etc/qmp/hooks/scripts/eth0-wan_eth1-lan.sh
View file @
faa944db
...
...
@@ -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
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment