bird: Update to 1.3.11 and fix build issues
[feed/routing.git] / bird / files / bird4.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/bird4 -c /etc/bird4.conf"
11
12 start() {
13 service_start $BIRD -d
14 # ( SERVICE_MATCH_NAME=1 service_start /usr/sbin/bird4loop )
15 }
16
17 stop() {
18 # ( SERVICE_MATCH_NAME=1 service_stop /usr/sbin/bird4loop )
19 service_stop $BIRD
20 }
21
22 reload() {
23 service_reload $BIRD
24 }