From dbf6214dd0f1092113206ef4726793071d014a6d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maciej=20Kr=C3=BCger?= Date: Wed, 22 Jun 2022 20:25:36 +0200 Subject: [PATCH] radvd --- .../gluon-mesh-olsrd/luasrc/lib/gluon/radvd/arguments | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100755 package/gluon-mesh-olsrd/luasrc/lib/gluon/radvd/arguments diff --git a/package/gluon-mesh-olsrd/luasrc/lib/gluon/radvd/arguments b/package/gluon-mesh-olsrd/luasrc/lib/gluon/radvd/arguments new file mode 100755 index 00000000..0b9fcba4 --- /dev/null +++ b/package/gluon-mesh-olsrd/luasrc/lib/gluon/radvd/arguments @@ -0,0 +1,10 @@ +#!/usr/bin/lua + +local site = require "gluon.site" + +io.write("-i local-node --default-lifetime 900 -a " .. + site.node_client_prefix6() or site.node_prefix6() or site.prefix6()) + +if site.dns() and site.dns.servers() then + io.write(" --rdnss " .. site.next_node.ip6()) +end