de5ebfa44c
Reorder scripts so that the mesh_lan interface is accounted for.
Two other firewall upgrade scripts (mesh-babel and l3roamd) are
reordered as well. While there seems to be no hard dependency at the
moment, it makes sense to run the basic setup first, also to avoid
problems with future changes.
Closes: #2090
Fixes: ed094bc68c
("gluon-core: firewall: Allow custom gluon_wired interfaces (#2041)")
13 lines
231 B
Lua
Executable File
13 lines
231 B
Lua
Executable File
#!/usr/bin/lua
|
|
local uci = require('simple-uci').cursor()
|
|
|
|
uci:section('firewall', 'rule', 'mesh_l3roamd', {
|
|
name = 'mesh_l3roamd',
|
|
src = 'mesh',
|
|
dest_port = '5523',
|
|
proto = 'udp',
|
|
target = 'ACCEPT',
|
|
})
|
|
|
|
uci:save('firewall')
|