packages: fold the IPv6 menu into Network
[feed/routing.git] / net / bird / files / bird6.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/bird6 -d
11 # ( SERVICE_MATCH_NAME=1 service_start /usr/sbin/bird6loop )
12 }
13
14 stop() {
15 # ( SERVICE_MATCH_NAME=1 service_stop /usr/sbin/bird6loop )
16 service_stop /usr/sbin/bird6
17 }
18
19 reload() {
20 service_reload /usr/sbin/bird6
21 }