Developing lightweight computation at the DSG edge

Commit 764e11b2 authored by Roger Pueyo Centelles's avatar Roger Pueyo Centelles
Browse files

[qmp-system] Remove unnecessary per-device hooks


Signed-off-by: default avatarRoger Pueyo Centelles <roger.pueyo@guifi.net>
parent 1863f86f
../scripts/eth0-wan_eth1-lan.sh
\ No newline at end of file
#!/bin/sh
# Stage = [birth|firstboot|anyboot|preconf|postconf]
STAGE="$1"
[ "$STAGE" == "birth" ] && {
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
}
../scripts/eth0-wan_eth1-lan.sh
\ No newline at end of file
../scripts/eth0-wan_eth1-lan.sh
\ No newline at end of file
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