mirror of
https://github.com/Ysurac/openmptcprouter.git
synced 2025-03-09 15:40:20 +00:00
10 lines
249 B
Text
Executable file
10 lines
249 B
Text
Executable file
if [ -f "/etc/.lamobo-r1.dsa" ]; then
|
|
uci delete network.@switch_vlan[1]
|
|
uci delete network.@switch_vlan[0]
|
|
uci delete network.@switch[0]
|
|
else
|
|
uci set network.@switch_vlan[0].vlan=10
|
|
uci set network.@switch_vlan[1].vlan=20
|
|
fi
|
|
uci commit
|
|
exit 0
|