bird: Update to 1.3.11 and fix build issues
[feed/routing.git] / bird / files / bird6.init
index 2efb4f0963c181106e50bd69c33ad984624d58c9..67b32f177c3a73402429f81b67f1dfe129486460 100644 (file)
@@ -1,21 +1,24 @@
 #!/bin/sh /etc/rc.common
 # Copyright (C) 2010-2011 OpenWrt.org
 
-START=50
+START=99
+STOP=10
 
 SERVICE_DAEMONIZE=1
 SERVICE_WRITE_PID=1
 
+BIRD="/usr/sbin/bird6 -c /etc/bird6.conf"
+
 start() {
-       service_start /usr/sbin/bird6 -d
+       service_start $BIRD -d
 #      ( SERVICE_MATCH_NAME=1 service_start /usr/sbin/bird6loop )
 }
 
 stop() {
 #      ( SERVICE_MATCH_NAME=1 service_stop /usr/sbin/bird6loop )
-       service_stop /usr/sbin/bird6
+       service_stop $BIRD
 }
 
 reload() {
-       service_reload /usr/sbin/bird6
+       service_reload $BIRD
 }