12 lines
192 B
Lua
Executable File
12 lines
192 B
Lua
Executable File
#!/usr/bin/lua
|
|
|
|
local uci = require('simple-uci').cursor()
|
|
|
|
uci:section('network', 'interface', 'mmfd', {
|
|
proto = 'static',
|
|
ifname = 'mmfd0',
|
|
ip6addr = 'fe80::1/64'
|
|
})
|
|
|
|
uci:save('network')
|