add package for BIRD Internet Routing Daemon
[lede-routing/.git] / net / bird / files / bird6.init
1 #!/bin/sh /etc/rc.common
2
3 START=50
4
5 # Birdloop is used to restart BIRD if it crashed. Unfortunately, it also
6 # hides and handles in the same manner start-time errors (like parse error
7 # in config file). Therefore, it is not used by default. If you want to
8 # use it, comment the first line and uncomment the second line in start().
9
10 start() {
11         /usr/sbin/bird6
12 #       /usr/sbin/bird6loop
13 }
14
15 stop() {
16         killall bird6
17         sleep 1
18 }
19
20 reload() {
21         killall -HUP bird6
22 }