gluon/package/gluon-radvd/files/etc/init.d/gluon-radvd
Nils Schneider 6b684714bd gluon-radvd: run on local-node instead of br-client
On a layer 3 mesh, we'd like the default route to point to all node's
local-node interface for roaming to work.
2016-05-16 18:52:16 +02:00

16 lines
238 B
Bash
Executable File

#!/bin/sh /etc/rc.common
START=50
SERVICE_WRITE_PID=1
SERVICE_DAEMONIZE=1
start() {
service_start /usr/sbin/uradvd -i local-node -a $(lua -e 'print(require("gluon.site_config").prefix6)')
}
stop() {
service_stop /usr/sbin/uradvd
}