This package tries to prioritize the router advertisements of the gateway selected by the B.A.T.M.A.N. advanced gateway selection. It does this by inserting rules into the firewall to hand all router advertisements via the NFQUEUE mechanism to a userspace daemon, which then examines them and changes the preference field to "high" if appropriate.
18 lines
192 B
Bash
Executable File
18 lines
192 B
Bash
Executable File
#!/bin/sh /etc/rc.common
|
|
|
|
START=50
|
|
|
|
SERVICE_WRITE_PID=1
|
|
SERVICE_DAEMONIZE=1
|
|
|
|
DAEMON=/usr/sbin/gluon-radv-priorityd
|
|
|
|
|
|
start() {
|
|
service_start $DAEMON
|
|
}
|
|
|
|
stop() {
|
|
service_stop $DAEMON
|
|
}
|