* do not start in presence of the old /etc/config/olsrd * use always use the appropriate IpVersion.
15 lines
267 B
Bash
15 lines
267 B
Bash
#!/bin/sh /etc/rc.common
|
|
# Copyright (C) 2008-2013 OpenWrt.org
|
|
|
|
. /lib/functions/olsrd.sh
|
|
|
|
START=65
|
|
|
|
SERVICE_DAEMONIZE=1
|
|
SERVICE_WRITE_PID=1
|
|
|
|
CONF=/var/etc/olsrd6.conf
|
|
PID=/var/run/olsrd6.pid
|
|
|
|
UCI_CONF_NAME=olsrd6
|
|
OLSRD_OLSRD_SCHEMA="$OLSRD_OLSRD_SCHEMA IpVersion=6"
|