Merge branch 'master' into bmx6_testing
[feed/routing.git] / bird / files / bird6.init
1 #!/bin/sh /etc/rc.common
2 # Copyright (C) 2010-2011 OpenWrt.org
3
4 START=99
5 STOP=10
6
7 SERVICE_DAEMONIZE=1
8 SERVICE_WRITE_PID=1
9
10 BIRD="/usr/sbin/bird6 -c /etc/bird6.conf"
11
12 start() {
13 service_start $BIRD -d
14 # ( SERVICE_MATCH_NAME=1 service_start /usr/sbin/bird6loop )
15 }
16
17 stop() {
18 # ( SERVICE_MATCH_NAME=1 service_stop /usr/sbin/bird6loop )
19 service_stop $BIRD
20 }
21
22 reload() {
23 service_reload $BIRD
24 }