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

This commit is contained in:
Christof Schulze 2017-11-25 17:52:11 +01:00
parent e724fec260
commit f94a410738
1 changed files with 0 additions and 13 deletions

View File

@ -1,19 +1,6 @@
#!/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')