On a layer 3 mesh, we'd like the default route to point to all node's local-node interface for roaming to work.
17 lines
250 B
Bash
Executable File
17 lines
250 B
Bash
Executable File
#!/bin/sh /etc/rc.common
|
|
|
|
USE_PROCD=1
|
|
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
|
|
}
|