11 lines
191 B
Plaintext
11 lines
191 B
Plaintext
|
#!/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')
|