Developing lightweight computation at the DSG edge

lamobo-r1.sh 238 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
#!/bin/sh
# Stage = [birth|firstboot|anyboot|preconf|postconf]
STAGE="$1"

[ "$STAGE" == "birth" ] && {
	echo "Configuring network for Lamobo R1"
	uci set qmp.interfaces.lan_devices="eth0.1"
	uci set qmp.interfaces.wan_devices="eth0.2"
}