Skip to content
Snippets Groups Projects
Commit f94a4107 authored by Christof Schulze's avatar Christof Schulze
Browse files

gluon-l3roamd: let l3roam0 interface and routes be set up by l3roamd

parent e724fec2
No related branches found
No related tags found
No related merge requests found
#!/usr/bin/lua
local uci = require('simple-uci').cursor()
local site = require 'gluon.site'
uci:delete('network', 'l3roam')
uci:section('network', 'interface', 'l3roam', {
ifname = 'l3roam0',
proto = 'none',
})
uci:delete('network', 'l3roamd_client')
uci:section('network', 'route6', 'l3roamd_client', {
interface = 'l3roam',
target = site.prefix6(),
gateway = '::',
})
uci:save('network')
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment