8ac5e759137440cb64e1c514756658aa50e838e9
[feed/routing.git] / bird / files / bird4.init
1 #!/bin/sh /etc/rc.common
2 # Copyright (C) 2010-2011 OpenWrt.org
3
4 START=50
5
6 SERVICE_DAEMONIZE=1
7 SERVICE_WRITE_PID=1
8
9 start() {
10 service_start /usr/sbin/bird4 -d
11 # ( SERVICE_MATCH_NAME=1 service_start /usr/sbin/bird4loop )
12 }
13
14 stop() {
15 # ( SERVICE_MATCH_NAME=1 service_stop /usr/sbin/bird4loop )
16 service_stop /usr/sbin/bird4
17 }
18
19 reload() {
20 service_reload /usr/sbin/bird4
21 }